如果要对当前用户进行配置,在$HOME目录下建立.xinput.d文件夹,
vim all_ALL
添加:
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
DEPENDS="scim,scim-gtk2-immodule | scim-qtimm"
如果做全局配置,按照上面的方法修改/etc/X11/xinit/xinput.d/all_ALL
就可以了,其实打开/etc/X11/xinit/xinput.d/all_ALL发现:
#
# This configuration provides default IM setting (user edittable)
# See im-switch(8) and /usr/share/doc/im-switch/README.Debian .
#
# Define IM for traditional X application with XIM
#
# XIM server name used for XMODIFIERS="@im=$XIM"
# XIM program /path/filename
# XIM program command line arguments
#
# These were traditional setting before uim and scim for CJK languages
# Language LC_CTYPE XIM server XMODIFIERS Start key
# Japanese ja_JP* kinput2 "@im=kinput2" Shift-Space
# Korean ko_KR* ami "@im=Ami" Shift-Space
# Chinese(T) zh_TW.Big5 xcin "@im=xcin-zh_TW.big5" Ctrl-Space
# Chinese(S) zh_CN.GB2312 xcin "@im=xcin-zh_CN.GB2312" Ctrl-Space
#
XIM=
XIM_PROGRAM=
XIM_ARGS=
XIM_PROGRAM_XTRA=
#
# Define GTK and QT IM module
# They may or may not be using xim as the IM.
#
GTK_IM_MODULE=
QT_IM_MODULE=
#
# Define lists of packages neded for above IM to function
#
DEPENDS=
#
# Define X start up hook script to update IM environment
#
这个文件就是用来配置在所有语言环境下的scim的.然后login gnome.
2007年11月23日星期五
订阅:
博文评论 (Atom)
没有评论:
发表评论