~/.xinitrc
export LC_ALL=zh_CN.UTF-8
export XMODIFIERS=@im=fcitx
eval `dbus-launch --sh-syntax --exit-with-session`
exec fcitx &
当然要先在/etc/locale.gen注释掉zh_CN.UTF-8,运行locale-gen,pacman -S fcitx-gtk2
export LC_ALL=zh_CN.UTF-8
export XMODIFIERS=@im=fcitx
eval `dbus-launch --sh-syntax --exit-with-session`
exec fcitx &
当然要先在/etc/locale.gen注释掉zh_CN.UTF-8,运行locale-gen,pacman -S fcitx-gtk2