我可以在所有其他程序中正常使用fcitx。但我不能在Emacs中使用fcitx,這意味着我無法切換到其他輸入法,例如中文輸入法。我嘗試了很多,谷歌搜索很多沒有找到解決方案。這使我很困惑!我使用emacs -q
啓動emacs。Emacs無法激活fcitx
你能幫我嗎?提前致謝!
- Emacs的版本:25.1.1
- fcitx的版本:4.2.8.5
- 操作系統:Slackware的14.2
uname -a
輸出:
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
輸出:fcitx-diagnose
~/.xprofile
和~/.profile
都包含以下內容:
export [email protected]=fcitx
export LC_CTYPE=zh_CN.UTF-8
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
請給出問題的詳細信息,而不只是傾銷你的配置。例如。告訴我們你做了什麼,你會發生什麼,以及發生了什麼。 – Stefan
我想要發生的事情:我可以使用'C-M SPACE'在Emacs中切換到中文輸入法。現在,我可以在所有其他應用程序中使用此快捷方式在中文輸入法和英文之間切換。但在Emacs中,我不行。我已經測試了很多,例如更改Fcitx配置中切換方法的快捷方式,將'〜/ .xprofile'和'〜/ .profile'更改爲[fcitx wiki](https://fcitx-im.org/wiki/ Input_method_related_environment_variables)說。它不起作用。 – replper
你如何啓動Emacs?你可以試試'M- :(getenv「XMODIFIERS」)RET'來確保你的Emacs確實獲得了你放入'〜/ .profile'中的env-vars設置(從未聽說過〜/ .xprofile)。 – Stefan