使用網上的IBUS教程,在ibus setup 后的input method里找不到剛剛安裝的Pinyin輸入法
不想在這里浪費時間,於是果斷投入Fectix的懷抱~
1.搜狗輸入法:
下載搜狗輸入法for linux: https://pinyin.sogou.com/linux/
添加源:
sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update
安裝fcitx:
sudo apt-get install fcitx
sudo apt-get install fcitx-config-gtk
sudo apt-get install fcitx-table-all
安裝im-switch :
sudo apt-get install im-switch
安裝搜狗輸入法:
sudo dpkg -i sogoupinyin_2.2.0.0102_amd64.deb
到這里再注銷一般就可以了,但是我還是不行。
解決方法:
在~/.bashrc中加入以下:
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx"
2. google pinyin
Systemsettings -> LanguageSupport ->Keyboard input method system改為fctix
點擊 input/Remove languages,確認中文簡體已安裝
這是系統依然采用的是ibus輸入,需要重啟或者注銷電腦
重啟太麻煩啦,注銷你的ubuntu再登錄,當右上角出現一個小企鵝,fctix就應用到你的系統了
就是這個萌萌噠
接下來添加源,安裝fctix google拼音
1 sudo add-apt-repository ppa:fcitx-team/nightly 2
3 sudo apt-get install fcitx fcitx-googlepinyin
點擊右上角小企鵝
選擇ConfigureFcitx,跳出來的窗口中,+/-可以增加輸入法,上下箭頭可以調整優先級。把googlepinyin添加即可
(再推薦一款截圖工具:ksnapshot sudo apt-get install ksnapshot即可,安裝后終端輸入ksnapshot即可打開,
以上截圖都是使用ksnapshot所截)