Install Chinese Fcitx Input method on OpenSUSE Leap 42.1 Gnome

Fcitx is one of the two main Chinese input method framework on Linux. Compared to Ibus, it takes less steps to install fcitx on Linux distributions. So now I will explain how to install Fcitx input method framework and wubi-pinyin (五笔拼音) input method engine on OpenSUSE Leap 42.1 Gnome Desktop.

First, open a terminal window and type the following commmand to install fcitx and wubi-pinyin.

sudo zypper install fcitx fcitx-table-cn-wubi-pinyin

Then edit /etc/sysconfig/language file with nano text editor.

sudo nano /etc/sysconfig/language

Find this line

INPUT_METHOD=""

Change it to this.

INPUT_METHOD="fcitx"

Save and close the file. Now edit ~/.bashrc file.

nano ~/.bashrc

Add these three line at the end of the file.

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

.bashrc file

Save the file. Then log out and log back in. Enter this command in the terminal to open fcitx configuration window.

fcitx-config-gtk3

Click the plus icon the bottom-left corner to add a input method.

add input method in fcitx configuration window

In the next screen, uncheck only show current language and search for WubiPinyin.

add wubipinyin input method in fcitx configuration window

Click OK to add this input method.

Now you can call WubiPinyin input method by pressing Ctrl+Space.

wubi-pinyin input method

Rate this tutorial
[Total: 2 Average: 4.5]

Leave a Comment

  • Comments with links are moderated by admin before published.
  • Your email address will not be published.
  • Use <pre> ... </pre> HTML tag to quote the output from your terminal/console.
  • Please use the community (https://community.linuxbabe.com) for questions unrelated to this article.
  • I don't have time to answer every question. Making a donation would incentivize me to spend more time answering questions.

The maximum upload file size: 2 MB. You can upload: image. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop file here