|
不知道各位是如何配置scim的。我的配置过程为:
1. You need to choose zh_CN.UTF-8 for the support of Chinese, at the same time you should default the local to be en_US.UTF-8:
sudo dpkg-reconfigure locales
2.
sudo apt-get install scim scim-pinyin ttf-wqy-zenhei xfonts-wqy scim-qtimm
Then:
sudo gedit /etc/X11/Xsession.d/95xinput
add something like:
/usr/bin/scim -d
XMODIFIERS="@im=SCIM"
export XMODIFIERS
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
Then:
sudo chmod 755 /etc/X11/Xsession.d/95xinput
And last
restart your X-window
OK!
完成之后就能正常查看和输入中文了。
但是有个问题,就是里面的
export GTK_IM_MODULE="scim"
这一句,如果我加上后,那么安装好了ldoce5(朗文当代英语词典5)后无法在非root用户状态启动,每次得到提示为:
[15:18:22@~/ldoce5]$ ./ldoce5
./run-ldoce5.sh: line 131: 8298 Segmentation fault "$prog" ${1+"$@"}
非得要使用$ sudo ./ldoce5才行。
后来我把export GTK_IM_MODULE="scim"这句去掉后,ldoce5一切正常了。但是好像scim又有问题,比如在firefox里面又无法启动了。
请问到底该如何配置呢,export GTK_IM_MODULE="scim"这句是否可以去掉? 怎么样回避与ldoce5冲突的问题呢?谢谢! |
|