ubuntu18.04安装搜狗输入法

因为搜狗输入法基于fcitx,而系统默认是iBus,所以须要添加fcitx的键盘输入法系统。linux

1、安装fcitx(相关的依赖库和框架都会自动安装上)ubuntu

sudo apt-get install fcitx-bin
sudo apt-get install fcitx-table

 2、配置fcitx微信

(1)点击系统设置Settings->Language and Region->Manage Installed Languages。框架

(2)在语言支持中将键盘输入法系统(Keyboard input method system)从IBus设置为fcitx。spa

3、重启ubuntu.net

4、安装搜狗输入法blog

(1)访问搜狗输入法For Linux。https://pinyin.sogou.com/linux/?r=pinyinci

(2)点击“当即下载64bit”。get

(3)双击下载好的.deb文件进行安装。input

5、重启ubuntu

6、配置搜狗输入法

(1)选择屏幕右上方的键盘按钮,点击Configure Current Input Method(输入法配置)。

(2)如图调整Sogou Pinyin的顺序。

至此,搜狗输入法安装完毕,可经过ctrl+space进行输入法的切换。

PS:安装ubuntu后我一直凑合着用ubuntu自带的iBus,自从安装了fcitx,解决了困扰个人两个问题:

(1)打开微信后不能切换输入法进行中文输入。

(2)CodeBlocks里时常没法输入字母。

参考

http://www.javashuo.com/article/p-gwvawtzu-mm.html