Ubuntu20.4 Pycharm cannot input Chinese solution

Searching related topics has changed a lot of .sh environment configurations, but it is time-consuming and labor-intensive and not easy to use.

Found the best solution below a comment on an article from user - Leticiax

Original comment: "I found it in a question that has been deleted...
IntelliJ IDEA cannot input Chinese
ubuntu 20.04 Intelligent Pinyin 1.11.1 IntelliJ IDEA 2020.2.2 (Ultimate Edition) When inputting 2~3 Chinese characters in Quanpin, it will I was forcibly interrupted, and then I couldn’t continue to input (or switch between Chinese and English), and there will be underlines under the Chinese characters.
This question comes from the open source project: libpinyin/ibus-libpinyin

1. Click the menu "Help | Edit Custom VM options..."
2. Add -Drecreate.x11.input.method=true to the last line
3. Restart IDEA
"
I think this method is simple and efficient, and share it. (Invasion and deletion)

Guess you like

Origin blog.csdn.net/goodlmoney/article/details/121371769