一、安装(2选1)
以sunpinyin为例
1.终端
sudo pacman -S fcitx-sunpinyin
2.自带应用商店
浏览—搜索—fcitx、fcitx-configtool、fcitx-sunpinyin—安装
二、配置
用自己的文本编辑器(gedit)编辑主目录里的.xprofile文件(*非root,不要用sudo,用sudo改的就是root目录,踩坑)
gedit ~/.xprofile
复制粘贴
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
三、使用
注销—重新登陆—打开百度—ctrl+空格切换输入法