部分软件目前包括:texmaker,texstudio,pycharm,其他的未测试
前提条件:fcitx框架,同时下载相关输入法的包,譬如sunpinyin,googlepinyin,libpinyin等等
不推荐sougou,因为确实遇到过一次桌面显示的与fcitx+sougou的冲突,导致屏幕只剩下了鼠标,解决办法是通过快捷键进入命令行模式,卸载fcitx和sougou。
临时性解决方案:
进入终端:
env QT_IM_MODULE=fcitx texstudio
而后通过命令行启动对应软件(不能通过桌面图标启动,否则命令行的环境配置是失效的)
(texstudio可以用其他软件替代,texmaker,qtcreator)
永久性解决方案:
在安装了相关包之后,重启或者log out
编辑~/.profile文件
在文件最末尾添加:
export XMODIFIERS=@im=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx