LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 715|回复: 6

搞不定SCIM,救命丫!~

[复制链接]
发表于 2004-10-28 12:09:54 | 显示全部楼层 |阅读模式
用的是SLES9

安装SCIM-1.0使用./configure --prefix=/usr
scim-chinese使用./configure --prefix=/usr
修改/etc/X11/xinit/xserverrc
加入[PHP]if type -p scim > /dev/null 2>&1 ; then
export XMODIFIERS="@im=SCIM"
scim -d
elif type -p xcin > /dev/null 2>&1 ; then
export XMODIFIERS="@im=xcin-zh_CN" LANG=zh_CN LC_ALL=zh_CN xcin &
fi
;;[/PHP]
运行scim -d
[PHP]linux:~ # scim -d
Smart Common Input Method 1.0.1

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
    Loading IMEngine Factory 2 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM as daemon ...
SCIM has been successfully launched.[/PHP]
而运行scim
[PHP]Smart Common Input Method 1.0.1

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
    Loading IMEngine Factory 2 ... : OK
socket IMEngine module is successfully loaded.
Loading x11 FrontEnd module ...
Starting SCIM ...
scim::FrontEnd: X11 -- failed to connect to the panel daemon!
scim::FrontEnd: X11 -- failed to connect to the panel daemon!
SCIM has exited abnormally.
[/PHP]
发表于 2004-10-28 12:49:19 | 显示全部楼层
修改xim吧!
 楼主| 发表于 2004-10-28 13:15:55 | 显示全部楼层
我没有找到XIM阿!在哪里阿?
还有.bashrc在哪里阿?
发表于 2004-10-28 18:09:06 | 显示全部楼层
/etc/X11
 楼主| 发表于 2004-10-29 07:41:44 | 显示全部楼层
我该了XIM还是没用,后来只好用RPM包了,现在能用。还有一个问题就是在SLES里面.bashrc在哪里阿?是不是没有这个文件?
发表于 2004-10-29 12:22:06 | 显示全部楼层
在你的家目录里吧.
发表于 2004-10-29 12:32:45 | 显示全部楼层
直接用RPM安装不是很方便吗?什么都不用自己配置……
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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