Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
[教程]Jetbrains家族IDE无法输入中文解决办法
Apps Section
2665
views ·
2
replies ·
To
floor
Go
nocmt
deepin
2017-05-04 04:17
Author
本帖最后由 orvr11 于 2017-5-3 22:09 编辑
在Linux中, Pycharm 、Webstorm等Jetbrains家族IDE无法输入中文的原因一般都是环境变量没有设置好。
解决办法是在默认的配置文件中添加输入法的支持:
Pycharm
配置文件
路径:
/opt/webstorm/bin/webstorm.sh
Webstorm
配置文件
路径:/opt/pycharm-professional/bin/pycharm.sh
其余同理
打开在第7行之后添加:
export XMODIFIERS="@im=fcitx"
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
退出保存,重启IDE。还有启动IDE最以在终端用管理员权限启动,不然容易出现各种问题。
Reply
Like 0
Favorite
View the author
All Replies
jingle
deepin
2017-05-04 04:55
#1
谢谢分享
Reply
Like 0
View the author
stlswm
deepin
2023-03-07 00:07
#2
UOS家庭版设置后一样不起作用呢
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
在Linux中, Pycharm 、Webstorm等Jetbrains家族IDE无法输入中文的原因一般都是环境变量没有设置好。
解决办法是在默认的配置文件中添加输入法的支持:
Pycharm 配置文件路径: /opt/webstorm/bin/webstorm.sh
Webstorm 配置文件路径:/opt/pycharm-professional/bin/pycharm.sh
其余同理
打开在第7行之后添加:
export XMODIFIERS="@im=fcitx"
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
退出保存,重启IDE。还有启动IDE最以在终端用管理员权限启动,不然容易出现各种问题。