Installation of Chinese input method under linux (to solve the problem of disappearing of the input method icon in the menu bar)

The input methods on Ubuntu mainly include small input platforms (support Pinyin/Erbi/Wubi, etc.), Fcitx, Ibus, Scim, etc. Among them, Scim and Ibus are input method frameworks.
The Chinese input method is included in the Chinese system of Ubuntu, and the Chinese and English input methods can be switched by Ctrl+Space. Here we mainly talk about the installation of the Chinese input method in the Ubuntu English system.
The first step in installing the input method is to install the language pack. We choose System Settings–>Language Support–>Install/Remove Languages ​​to add simplified Chinese.

After entering the password, the system will install the Simplified Chinese language pack.

The second step is to install the IBus framework. Enter the following command in the terminal:
sudo apt-get install ibus ibus-clutter ibus-gtk ibus-
gtk3 ibus-qt4 to start the IBus framework, enter in the terminal:
im-switch -s ibus after
installing the IBus framework Then log out of the system to ensure that the changes take effect immediately.

Step 3: Install Pinyin Engine

There are several commonly used options:
IBus Pinyin: sudo apt-get install ibus-pinyin
IBUS Wubi: sudo apt-get install ibus-table-wubi
Google Pinyin input method: sudo apt-get install ibus-googlepinyin
Sun Pinyin input method: sudo apt-get install ibus-sunpinyin

Step 4: Set the IBus framework
ibus-setup
At this point, the IBus Preference setting is opened. In the Input Method tab, we select the input method we like and configure our favorite shortcut keys.

Step 5: Normally, the IBus icon (a small keyboard) will appear in the task bar at the upper right corner of the desktop. Sometimes this icon will disappear by itself, you can use the following command to retrieve the missing IBus icon:
ibus-daemon -drx

Guess you like

Origin blog.csdn.net/daijingxin/article/details/109900914