1、终端输入命令:
sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
2、终端输入命令安装yaourt:sudo pacman -S yaourt
3、然后输入命令:yaourt fcitx-sogoupinyin
4、添加输入法配置文件,输入命令:
sudo vim ~/.xprofile
编辑模式写入:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
然后保存退出
5、重启系统,打开fcitx配置,添加搜狗输入法即可使用