以前用Fctix就可以工作,今天装了Scim进入系统那个键盘标为灰色的,按Ctrl+space也不管用。
最终解决方法:重装了一下Scim
环境变量在.profile中设置一下。就行了。
.profile
代码:
export LANG=zh_CN.eucCN
export LC_ALL=zh_CN.eucCN
export LC_CTYPE=zh_CN.eucCN
export XIM="scim"
export XMODIFIERS="@im=scim"
export GTK_IM_MODULE="scim"
.xinitrc
代码:
cat .xinitrc
export LANG="zh_CN.eucCN"
export LC_CTYPE="zh_CN.eucCN"
export LC_ALL="zh_CN.eucCN"
export XMODIFIERS='@im=scim'
exec scim -d&
exec gnome-session
pkg_info |grep scim
scim-1.4.4_2 Smart Common Input Method platform
scim-table-imengine-0.5.6_2 SCIM table based input method engine
zh-scim-tables-0.5.4_3 SCIM table based Chinese input methods
分析:
出问题有可能是升级了内核后需要重装一下Scim |