|
下载源码,make install这些步骤跟往常是一样的,
然后,在/etc/X11/xinit/xinitrc.d/xinput.sh里面的倒数第二行吧前面加上下面代码就可以了,gnome和kde都可以用(gbk或utf8)
[HTML]
# my-code for fcitx
export XIM=fcitx
export XMODIFIERS="@im=$XIM"
export XIM_PROGRAM=fcitx
# end of my-code of fcitx
[/HTML]
# execute XIM_PROGRAM
[ -n "$XIM_PROGRAM" ] && which "$XIM_PROGRAM" > /dev/null 2>&1 && LANG="$tmplang" "$XIM_PROGRAM" $XIM_ARGS & |
|