Ubuntu安装谷歌拼音输入法/搜狗拼音输入法
文章目录
- 搜狗输入法
- 搜狗中文输入法乱码
- 安装谷歌输入法
- 如果出现 Could not install the full language support Transaction failed
- 出现安装依赖报错
搜狗输入法
- 安装fcitx
Linux下常用的中文输入法框架有iBus和fcitx。其中搜狗输入法和谷歌拼音输入法用的就是fcitx的框架。
apt install fcitx
启动fcitx
- 打开系统设置
- 打开语言设置
- 打开fcitx
- 下载搜狗 for Linux
搜狗for Linux 官网 - 安装搜狗输入法
dpkg -i xxx.deb
xxx.deb为下载搜狗输入发的名字
搜狗中文输入法乱码
候选框的文字出现乱码,如图:
- 我的解决方法
是将搜狗输入法的默认键盘位置放在第二位而不是第一位。
具体原因如何我也不清楚,但是通过这样设置确实解决了我候选框乱码的问题。
安装谷歌输入法
sudo apt-get install fcitx-googlepinyin
- 增加输入方式
- 打开谷歌拼音
- 展示
如果出现 Could not install the full language support Transaction failed
sudo apt-get remove thunderbird
- 即可解决问题
出现安装依赖报错
Reading package lists... Done
Building dependency tree
Reading state information... Done
fcitx-googlepinyin is already the newest version (0.1.6-3).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
sogoupinyin : Depends: libqtwebkit4 but it is not going to be installed
Depends: fonts-droid but it is not installable or
fonts-droid-fallback but it is not going to be installed
Depends: libopencc2 but it is not installable or
libopencc1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
apt install xxx
即可。其中 xxx
是指缺乏的包名。
还没有评论,来说两句吧...