|
|
发表于 2007-11-19 04:58:44
|
显示全部楼层
首先建立一个配置文件: /etc/X11/xinit/xinput.d/fcitx.conf, 内容为:
XIM=fcitx
XIM_PROGRAM=fcitx
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
然后设置 XIM 的 xinputrc alternative 指向 fcitx.conf:
alternatives --install /etc/X11/xinit/xinputrc xinputrc /etc/X11/xinit/xinput.d/fcitx.conf 100
alternatives --config xinputrc
编辑 /etc/X11/xinit/xinitrc.d/xinput.sh 文件,添加 "en" 到 “_language_list” 变量的列表中。
编辑 /etc/gtk-2.0/x86_64-redhat-linux-gnu/gtk-immodules,添加 "en" 到 “xim” 变量的列表中。 |
|