• 安装fcitx,安装gtk、qt模块。

[root@ARCH ~]# pacman -S fcitx-im
:: There are 4 members in group fcitx-im:
:: Repository community 1) fcitx 2) fcitx-gtk2 3) fcitx-gtk3 4) fcitx-qt4
Enter a selection (default=all):

  • 安装fcitx配置工具

[root@ARCH ~]# pacman -S fcitx-configtool 

  • ​.xinitrc​​文件添加gtk、qt支持

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
exec awesome