The solution to the inability to use Chinese fcitx in intellij idea under fedora

1. Interllij idea series products cannot be solved in Chinese;
first, enter the root directory of the decompressed software, enter the bin folder, find the XXXX.sh file that starts the software, open it with gedit, or open it with the vi command, and enter the document mode :
in the first line after the comment add:

export XMODIFIERS="@im=fcitx"
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"


2. WPS cannot use Sogou Pinyin (fcitx);
1) WPS first ensure that the fcitx input method configuration is used, and the latest Sogou input method is used;
2) In order to solve the problem, two files need to be configured:
open the command line mode, enter the following:
gedit /usr/bin/wps
Add the following configuration under #!/bin/bash:

export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE="fcitx"

gedit /usr/bin/et
add the following configuration under #!/bin/bash:

export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE="fcitx"

Restarting WPS can find that the Chinese problem is solved!

In addition: Using sogou under fedora25 will report an inexplicable error. If you use fcitx-sunpinyin, you can install it directly with yum.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325989838&siteId=291194637