安裝小企鵝輸入法
Ctrl+Alt+T打開終端安裝Fcitx拼音和五筆輸入法:
sudo apt-get install fcitx-pinyin fcitx-table-wubi
Alt+F2運行 im-config 設置Fcitx為默認輸入法:

Alt+F2運行以下命令關閉iBus啟動Fcitx:
killall ibus-daemon
fcitx -d
安裝好重啟應用才能用Ctrl+Space激活輸入法,最好注銷一下系統(tǒng)或者Ctrl+Alt+F1重啟X(lightdm服務):
sudo service lightdm restart
如果你覺得fcitx-pinyin不夠強大,你還可以安裝fcitx-sogoupinyin.
由于14.04官方源并沒有提供fcitx-sogoupinyin,用戶需要自行下載然后dpkg安裝,比如:
http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/pool/main/f/fcitx-sogoupinyin-release/
sudo dpkg -i fcitx-sogoupinyin_0.0.1-2_amd64.deb
另外fcitx-sunpinyin拼音也是不錯的:
sudo apt-get install fcitx-sunpinyin
但14.04官方源的sunpinyin-data有問題,打yue和jiong等的時候有bug,這時可以安裝Debian提供的最新的sunpinyin-data:
http://mirrors.ustc.edu.cn/debian/pool/main/o/open-gram/sunpinyin-data_0.1.22+20131212-1_amd64.deb
sudo dpkg -i sunpinyin-data_0.1.22+20131212-1_amd64.deb
等官方PPA支持14.04,就不需要像上面那樣下載來安裝了,直接安裝PPA里的sogoupinyin和sunpinyin:
https://launchpad.net/~fcitx-team/+archive/nightly
sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update
sudo apt-get install fcitx-sogoupinyin fcitx-sunpinyin
其實大家還可以直接使用基于Fcitx的搜狗輸入法:
http://pinyin.sogou.com/linux/
安裝ppa:fcitx-team/nightly后再安裝sogoupinyin.deb包.
安裝搜狗輸入法
第一步:
Ubuntu 默認是安裝了ibus.所以刪除它
sudo apt-get remove ibus
對于已經(jīng)安裝老版本的fcitx,刪掉再裝.
sudo apt-get remove fcitx*
刪除依賴庫
sudo apt-get autoremove
檢測是否刪除fcitx
dpkg --get-selections | grep fcitx
第二步:
添加fcitx的ppa:
sudo add-apt-repository ppa:fcitx-team/nightly
然后刷新軟件源:
sudo apt-get update
第三步:
然后直接安裝搜狗輸入法
sudo apt-get install fcitx-sogoupinyin
第四步:
然后依次安裝下列包(下17個應該是必須的)sudo apt-get install ****
fcitx
fcitx-bin
fcitx-config-common
fcitx-config-gtk
fcitx-data
fcitx-frontend-gtk2
fcitx-frontend-gtk3
fcitx-frontend-qt4
fcitx-googlepinyin
fcitx-libs
fcitx-module-dbus
fcitx-module-x11
fcitx-modules
fcitx-pinyin
fcitx-table
fcitx-table-wubi
fcitx-ui-classic
第五步:
然后設置為fcitx為默認輸入法
im-switch -s fcitx -z default
sudo im-switch -s fcitx -z default
第六步:
注銷或重啟就生效
在右上角的輸入法設置中
"輸入法" ==> 搜狗拼音
或輸入法的“配置”中設置
這個輸入法的翻頁不是安pagedown或pageup,而是加號鍵跟減號鍵(其實不加shift)