#apt--get remove fcitx* && apt autoremove ###防止过多依赖包的干扰 #apt-get update #apt-get fcitx im-config #im-config ###选择为fcitx
下载Linux版本的搜狗输入法deb软件包ubuntu
#dpkg -i sogou*.deb ; apt-get -f install UPDATE: Installing SouGou PinYin will add a Kylin repository into your system, you may keep it and install the key so that apt update won't boring you with missing GPG issue: # apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 8D5A09DC9B929006
配置Fcitx的环境:在~/.bashrc中加入一下内容浏览器
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx"
#gsettings set org.gnome.settings-daemon.plugins.keyboard active false
(解除gnome桌面与ibus守护进程的绑定(必须有这一步))bash
#reboot
最后调出输入法code
#fcitx-configtool ###最好保留默认的en-us 键盘
注意事项:server
fcitx安装成功了,配置也OK,在浏览器或者其余应用里面能够用,但在terminal中不能使用,这是由于没有装fcitx的图形管理包所致使的。进程
kde依赖于qt5,而gnome依赖于gtk3(fedora 23是这个版本)ci
kde界面使用:rem
#apt-get install fcitx-qt5
gnome界面使用:terminal
#apt-get install fcitx-gtk3