I can use fcitx normally in all of other programs. But I can't not use fcitx in Emacs which means I can not switch to other input method such as Chinese input method. I tried a lot and Googled a lot didn't find solution. This confuses me a lot!
I use emacs -q
to start emacs.
Can you help me? Thanks in advance!
- Emacs version: 25.1.1
- fcitx version: 4.2.8.5
- Operating system: Slackware 14.2
uname -a
output:
Linux Planet 4.4.38 #2 SMP Sun Dec 11 16:18:36 CST 2016 x86_64 Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz GenuineIntel GNU/Linux
fcitx-diagnose
output: fcitx-diagnose
~/.xprofile
and ~/.profile
both contain the following:
export XMODIFIERS=@im=fcitx
export LC_CTYPE=zh_CN.UTF-8
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx