QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2534|回复: 12

看了很多贴,我的SCIM还是调不出来.该设的我应该都设了

[复制链接]
发表于 2004-10-5 11:58:25 | 显示全部楼层 |阅读模式
从官方网站上下了两个rpm包.scim-0.99.2-1fc2.i386.rpm和scim-chinese-0.4.0-1fc2.i386.rpm 我的系统是FC2的.
首先通过gnome的server setting停了IIim服务.
然后运行rpm -ivh 安装好两个包.安装过程没出任何问题.
开启一个终端输入
export XMODIFIERS="@im=SCIM"
export LC_CTYPE=zh_CN.GB18030
验证了一下env发现没问题了.
最后启动scim -d 结果
Smart Common Input Method 0.99.2

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading IMEngine module: pinyin ...
    Loading IMEngine Factory 0 ... : OK
pinyin IMEngine module is successfully loaded.
Loading IMEngine module: rawcode ...
    Loading IMEngine Factory 0 ... : OK
rawcode IMEngine module is successfully loaded.
Loading IMEngine module: table ...
Failed to load table IMEngine module.
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
    Loading IMEngine Factory 0 ... : OK
    Loading IMEngine Factory 1 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM as daemon ...
SCIM has been successfully launched.
好像没问题,但输入法界面没出来,Ctrl+SPACE也没反应.
用gedit测试发现的确没效.

scim -l的输出:
Smart Common Input Method 0.99.2


Available FrontEnd module:
    socket
    x11

Available Config module:
    simple
    socket
    dummy

Available IMEngine module:
    pinyin
    rawcode
    socket
    table
但是当我用scim命令时看到有问题了:
Smart Common Input Method 0.99.2

Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
    Loading IMEngine Factory 0 ... : OK
    Loading IMEngine Factory 1 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM ...
scim::FrontEnd: X11 -- failed to initialize XIM Server!
SCIM has exited abnormally.
我的系统安装时选了英文和中文两个语言包,默认用英文.缺省出来的是英文界面

请问到底是哪里的问题呢?
 楼主| 发表于 2004-10-5 19:08:10 | 显示全部楼层
请给点意见啊。
回复

使用道具 举报

 楼主| 发表于 2004-10-5 19:11:13 | 显示全部楼层
简言之就是安装好Scim后却怎么也调不出来。。。
使用命令scim时报告出错:
Smart Common Input Method 0.99.2

Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading IMEngine module: socket ...
Loading IMEngine Factory 0 ... : OK
Loading IMEngine Factory 1 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM ...
scim::FrontEnd: X11 -- failed to initialize XIM Server!
SCIM has exited abnormally.
回复

使用道具 举报

发表于 2004-10-8 16:46:57 | 显示全部楼层
我的安装过程。你参考一下。。
scim 1.0.0
下载:
Fedora Core 2 Build (GCC 3.3.3 GLIBC 2.3.x GTK+ 2.4.x)
scim-1.0.0-1fc2.i386.rpm The main package of SCIM platform.
scim-chinese-0.4.1-1fc2.i386.rpm The binary package of Smart Pinyin IMEngine.

安装:
rpm -Uvh scim*.rpm

修改:
vi .bashrc
增加以下几行。
export XMODIFIERS="@im=SCIM"
export XIM=SCIM
export XIM_PROGRAM=scim
export XIM_ARGS="-d"

logout,再登录。。。
回复

使用道具 举报

发表于 2004-10-9 14:03:56 | 显示全部楼层
export XMODIFIERS="@im=SCIM"
export XIM=SCIM(scim?)
回复

使用道具 举报

发表于 2004-10-9 23:33:11 | 显示全部楼层
Failed to load table IMEngine module.

软件相互间的依赖真让人头痛  故障也难以判断

Debian 在这上面作的还不错   
回复

使用道具 举报

发表于 2004-10-10 10:40:09 | 显示全部楼层
自己编译安装吧,一般都没问题的,good luck!
回复

使用道具 举报

 楼主| 发表于 2004-10-12 09:49:39 | 显示全部楼层
多谢兄台们,很奇怪的问题。反正我始终没能分析出原因来。
后来重装过一次系统再装就成功了就没多想了。
前后系统的区别也就是locale的设置不一样,感觉可能是这个的原因。
前一次系统我安装英文和简体中文支持并选择默认为英文,这样Gnome界面出来的就是英文的啦,再在i18n文件里面加了LC_CTYPE=zh_CN.GB18030支持中文显示。这样的系统使用前面我说得安装方法按道理应该是可行的呀,结果就是调不出输入法来。
后来看到论坛上有人说过一句,LANG还是LANGUAGE也应该设置成zh_CN.GB18030,否则
Ctrl+Space就有可能不起作用,可惜我也没试试。
第二次系统我干脆就没装简体中文支持,也没修改i18n文件,当然这个时候浏览中文都有问题。我装了simsun等字体包,除了使用mkfontscale,mkfontdir和chkfontpath --add命令外,我没改任何配置文件。重启之后居然Gnome就能浏览中文了.看看mozilla也能浏览中文,但我的locale还是en_US.UTF-8呀,不懂为什么只需加几个字体就行了,不是还有很多配置文件需要修改吗?并且这次装scim就行了。
输入法没问题了,但是关于中文显示的问题又有了,看来我还需要摸索很久才能完全理解linux关于国际化和本地化准确点说就是locale,编码,字体,字体集如何影响最终界面显示等问题了。我再发贴请教吧。
多谢各位!
回复

使用道具 举报

发表于 2004-10-26 20:39:54 | 显示全部楼层
I have three linux systems.
One is Gnome on Redhat9. Another is also X-Server on Redhat9.
The ohter is X-Server on Devian.
I tried to install SCIM on three systems.
My computer environment is below...
1. scim-chinese-0.4.1.-1
2. scim-0.99.8-1
3. locale = zh_CN.GB2312


But, I had many problems.
#1. Gnome on Redhat9
I could not rut scim.
I tried with "scim -d". Error was occured.
******************************************
@scim -d
Failed to load table IMEngine module ...
Failed to FrontEnd module ...
----
----
Failed to load table IMEngine module ...
Failed to launch SCIM. ...
******************************************

#2. X-Server on Redhat9
I can run scim.
But, Font was broken. I cound not input Chinese characters.
When I tried "scim-setup", Error was occured.
******************************************
@scim-setup
Loading Config Module simple
Loading Config Moduel socket

Fontconfig error: Cannot load default config file

loading Setup Module panel-gtk-setup
...
...
...
socket IMEngine module is uccessfully loaded.
SCIM: im_module_exit
******************************************

#3. X-Server on Devian
Error is the same as #2.

How can I run SCIM?
How can I run SCIM?
How can I run SCIM?

please, help me.
回复

使用道具 举报

发表于 2004-10-28 14:23:46 | 显示全部楼层
scim -d
LANG=zh_CN.UTF-8 XMODIFIERS="'"@im=SCIM"'"   mozilla (或者别的应用程序名字。)
回复

使用道具 举报

发表于 2004-10-30 12:47:30 | 显示全部楼层
set language to zh_CN is a much safer choice than zh_CN.gb18030 or zh_CN.utf-8
回复

使用道具 举报

发表于 2004-10-30 14:05:09 | 显示全部楼层
你可以自由软件里下载xinputrc替换你系统内的这个文件,然后就应该没有问题了。
这个文件在/etc/X11/xinit/xinitrc.d. good luck!
回复

使用道具 举报

发表于 2004-10-30 14:51:33 | 显示全部楼层
Thank you for your help.
I set language to zh_CN on Redhat's X-server.
Now, I can input Chinese character.
But, Fonts are still wrong. I only can see rectanular font on SCIM module.
I think this problem seems GTK problem. Right? How can I fix it?
******************************************
@scim-setup
Loading Config Module simple
Loading Config Moduel socket

Fontconfig error: Cannot load default config file

loading Setup Module panel-gtk-setup
...
...
...
socket IMEngine module is uccessfully loaded.
SCIM: im_module_exit
******************************************

<img src="http://www.bitplay.co.kr/Temp/scim-error.gif">
http://www.bitplay.co.kr/Temp/scim-error.gif
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 02:59 , Processed in 0.041041 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表