1、
#apt-get install scim scim-pinyin scim-tables-zh im-switch scim-qtimm scim-bridge scim-bridge-client-gtk scim-bridge-client-qt scim-bridge-agent -y
im-switch -s scim-pinyin
2、
#vim /etc/X11/xinit/xinput.d/scim
将默认的 GTK_IM_MODULE=xim 修改为 GTK_IM_MODULE="scim-bridge"。
这时执行im-switch -s scim出错:
No system wide default defined just for locale C .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: Cannot find alternative `/etc/X11/xinit/xinput.d/scim'.
执行如下步骤可解决:
3、
#update-alternatives --install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL /etc/X11/xinit/xinput.d/scim 30
4、
#im-switch -s scim
阅读(2119) | 评论(0) | 转发(0) |