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
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.
In the next screen, uncheck only show current language and search for WubiPinyin.
Click OK to add this input method.
Now you can call WubiPinyin input method by pressing Ctrl+Space.