在度娘上找了很多办法,几乎千篇一律,都是修改文件PyCharm.sh,在最后一行输入以下: export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx ...