Fcitx 输入法:
export XIM="fcitx" export XIM_PROGRAM="fcitx" export XMODIFIERS="@im=fcitx" export GTK_IM_MODULE="fcitx" export QT_IM_MODULE="fcitx"
Ibus输入法:
export XIM="ibus" export XIM_PROGRAM="ibus" export XMODIFIERS="@im=ibus" export GTK_IM_MODULE="ibus" export QT_IM_MODULE="ibus"2. 在/etc/profile后面增加如下配置信息:
Fcitx 输入法:
export XIM="fcitx" export XIM_PROGRAM="fcitx" export XMODIFIERS="@im=fcitx" export GTK_IM_MODULE="fcitx" export QT_IM_MODULE="fcitx"
Ibus输入法:
export XIM="ibus" export XIM_PROGRAM="ibus" export XMODIFIERS="@im=ibus" export GTK_IM_MODULE="ibus" export QT_IM_MODULE="ibus"3. 前两种是网上最多的,博主亲测无效。
以下方式本人Ubuntu20,IDEA 2021,输入法是Ibus
在idea打开页面
- 点击 help
- 点击Edit Custom VM options
- 在末行添加: -Drecreate.x11.input.method=true
-XX:ReservedCodeCacheSize=512m -Xmx2048m -Xms128m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumponOutOfMemoryError -XX:-OmitStackTraceInFastThrow -ea -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Dsun.tools.attach.tmp.only=true -Drecreate.x11.input.method=true



