打開終端機輸入下指令安裝scim文字輸入套件與各種輸入法
sudo apt-get install scim
sudo apt-get install scim-chinese
sudo apt-get install scim-config-socket
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-tables-zh
設定scim啟動檔
sudo touch /etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f x11 -d' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f socket -d' >>/etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 644 /etc/X11/Xsession.d/74custom-scim_startup
安裝新酷注音輸入法
sudo apt-get install scim-chewing
重新啟動 (重新啟動才會生效)
sudo pkill ^scim && scim -d && scim-bridge
然後搜尋scim開啟設定介面
SCIM 輸入法設定
全域設定 ->下一種輸入法 及 上一種輸入法, ...等設定
輸入法引擎->新酷音->鍵盤->新酷音中英切換鍵
設定後, 按下確定離開之後請"重新啟動"
sudo pkill ^scim && scim -d && scim-bridge
沒有留言:
張貼留言