1. 查看系統是否自帶 fcitx【Free Chinese Input Toy for X】,不帶可以自行安裝命令如下:
(1).Ctrl+Alt+T,打開終端Terminal;
(2).先添加以下源:sudo add-apt-repository ppa:fcitx-team/nightly
(3).更新源:sudo apt-get update
(4).安裝fcitx:sudo apt-get install fcitx
(5).安裝fcitx的配置工具:sudo apt-get install fcitx-config-gtk
(6).安裝fcitx的table-all軟件包:sudo apt-get install fcitx-table-all,遇到”希望繼續執行嗎“選擇Y
(7).安裝im-switch切換工具:sudo apt-get install im-switch,遇到”希望繼續執行嗎“選擇Y
2.安裝搜狗輸入法:假設你的安裝包放在Downloads文件夾下,那麼在終端輸入命令:
(1)cd Downloads/
(2)ls (這個時候就會列出你的Downloads文件夾下都有哪些安裝包)
(3)sudo dpkg -i sogoupinyin.deb
(4)有錯執行:sudo apt-get install -f
(5)sudo dpkg -i sogoupinyin.deb
3.一切正常,如果還不能用,切換輸入法
(1). 首先打開右上角系統設置,選擇第一行的最後一個選項”Text Entry“;
(2). 點擊左下角的+號,在打開的窗口中找到搜狗輸入法Sogou pinyin點擊Add添加進去