红联Linux门户
Linux帮助

Forera core Linux6 fcitx不能输入的解决

发布时间:2007-05-05 17:54:49来源:红联作者:Magnate
终于搞定了可爱的小企鹅。赶紧贴上来,因为好像还用些哥们没有搞定。前面安装的过程我不说了,因为都一样。不一样的是在fc6下要修改/etc/X11/xinit/xinputrc这个配置文件所指向的配置文件。

[adamzyg@localhost ~]$ ls -l /etc/X11/xinit/xinputrc
lrwxrwxrwx 1 root root 26 03-25 21:06 /etc/X11/xinit/xinputrc -> /etc/alternatives/xinputrc

而/etc/alternatives/xinputrc也是个链接:

[adamzyg@localhost ~]$ ls -l /etc/alternatives/xinputrc
lrwxrwxrwx 1 root root 32 04-01 17:57 /etc/alternatives/xinputrc -> /etc/X11/xinit/xinput.d/xim.conf

所以直接修改/etc/X11/xinit/xinput.d/xim.conf。加入:

XIM=fcitx
XIM_PROGRAM=fcitx
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS="im@=fcitx"
fcitx

重启就可搞定了。
文章评论

共有 0 条评论