debian 下安裝中文輸入法的步驟如下:
1. 安裝fcitx:# apt-get install fcitx
2. 安裝中文包:# apt-get install fcitx-pinyin
3.在/etc/X11/Xsession.d/文件夾下創建文件25xchinput,並在文件中輸入一下內容:
export LANG=zh_CN.UTF-8
export LC_CTYPE=zh_CN.UTF-8
export XMODIFIERS=@im=fcitx
fcitx &
重啓系統。
2