文章目录
搜狗输入法搜狗中文输入法乱码安装谷歌输入法如果出现 Could not install the full language support Transaction failed出现安装依赖报错搜狗输入法
安装fcitxLinux下常用的中文输入法框架有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... DoneBuilding dependency tree Reading state information... Donefcitx-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 installedDepends: fonts-droid but it is not installable orfonts-droid-fallback but it is not going to be installedDepends: libopencc2 but it is not installable orlibopencc1 but it is not going to be installedE: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
apt install xxx
即可。其中xxx
是指缺乏的包名。