添加
export XMODIFIERS="@im=fcitx"export XIM=fcitxexport XIM_PROGRAM=fcitxexport GTK_IM_MODULE=fcitxexport QT_IM_MODULE=fcitx到profile文件结尾即可!