在Ubuntu下安裝中文輸入法

默認應該是 ibus,建議改用Fcitx,爲了避免衝突,最好還是先將ibus卸載掉。

1:卸載自帶的自帶ibus拼音輸入法:
$ sudo apt-get remove ibus // 卸載ibus
$ sudo apt-get remove scim 
$ sudo apt-get autoremove // 刪除依賴包
$ sudo apt-get -f install // 修正安裝過程中出現的依賴性關係

2:添加fcitx的PPA源:

sudo add-apt-repository ppa:fcitx-team/nightly

 

3:更新源

 

sudo apt-get update


4:然後安裝fcitx,googlepinyin,sunpinyin等輸入法。並且設置fcitx爲默認輸入法:

 

sudo apt-get install fcitx fcitx-bin fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5 fcitx-module-cloudpinyin fcitx-module-dbus fcitx-module-kimpanel fcitx-module-x11 fcitx-modules fcitx-table fcitx-ui-classic fcitx-ui-qimpanel fcitx-googlepinyin kde-config-fcitx
sudo apt-get install fcitx-table-all #(可選)

5:將系統默認輸入法設置爲Fcitx

sudo im-config -s fcitx -z default

 

6:在fcitc控制器中進行設置,在輸入法中添加googlepinyin輸入法

sudo im-config

 

7:重啓Elementary OS。

 

sudo shutdown -r now

 

點擊右上角鍵盤圖標進行添加設置。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章