How can i change to chinese-in
how can i change to chinese-input states,i am new user of debain.please help me,thanks apt-get install fcitx建一个文本文件95xinput 内容:
case "$LANG" in
zh_TW*)
/usr/bin/fcitx
XMODIFIERS="@im=fcitx"
;;
zh_HK*)
/usr/bin/fcitx
XMODIFIERS="@im=fcitx"
;;
zh_CN*)
/usr/bin/fcitx
XMODIFIERS="@im=fcitx"
;;
esac
export XMODIFIERS
拷备到/etc/X11/Xsession.d/
cp 95xinput /etc/X11/Xsession.d/
sed -i '1i\LC_ALL=zh_CN.GB2312' /etc/environment
sed -i -e 's/LANG=zh_CN/LANG=zh_CN.GB2312/' /etc/environment
echo G_BROKEN_FILENAME=1 >> /etc/environment
echo G_FILENAME_ENCODING=@gbk >> /etc/environment
然后注销看看
页:
[1]