最近开始学习linux 在安装输入法中遇到的一些问题,最终成功安装,也得益于网络上的前辈写的文章,现在将全部安装步骤以及遇到的一些问题总结如下:
基本上分三步走
1,添加fcitx的键盘输入法系统,因为sogou是基于fcitx的,而系统默认的是iBus;
2,安装sogou输入法;
3,设置系统参数及一些注意点。
第一步、添加fcitx键盘输入法系统
①先添加以下源
sudo add-apt-repository ppa:fcitx-team/nightly
②添加源之后需要更新一下系统

③开始安装fcitx

④接着安装fcitx的配置工具

⑤然后安装fcitx的table-all软件包

⑥安装im-switch切换工具

⑦ 看看我们的fcitx是否安装完成

其实fcitx只是一个输入法工具,本身不带资源包的,所以Ubuntu下安装搜狗输入法,需要我们自己来下载搜狗输入法的资源包。
第二步、安装sogou输入法
①选择你操作系统的版本下载就可以了

②用dpkg命令来安装搜狗输入法资源包

第三步、设置语言选项
①到系统设置->语言支持,将键盘输入法系统由默认的iBus设置为fcitx

②这个时候是看不到效果的,一定要注销一次
③搜索出fcitx配置,将sogou输入法设为默认即可

④Enjoy!