Install and use the next-generation Input Method ibus in Ubuntu

Source: Internet
Author: User
Common Input Methods in Linux include fcitx and scim. Fcitx, full name: "FreeChineseInputToyforX". The Chinese name is "Penguin Input Method". It supports pinyin, five-stroke fonts, location, and two strokes. You can enter Chinese Characters in UTF-8, GB18030 encoding. Fcitx is small and easy to use, and has good compatibility. Fcitx is easy to configure and use. It is suitable for beginners and those who are used to Windows input. However, fcitx can only provide Chinese input.

Common Input Methods in Linux include fcitx and scim. Fcitx, full name: "Free Chinese Input Toy for X". The Chinese name is "little penguin Input Method". It supports pinyin, five strokes, location, and two strokes. You can enter Chinese Characters in UTF-8, GB 18030 encoding. Fcitx is small and easy to use, and has good compatibility. Fcitx is easy to configure and use. It is suitable for beginners and those who are used to Windows input. However, fcitx can only provide Chinese input, in addition, there are few input methods, especially fcitx has stopped development. In addition, Fcitx belongs to XIM, and the crash of XIM will cause the application and X to crash, therefore, if fcitx crashes, user data may be lost. SCIM and Smart Common Input Method are an Input Method platform that supports multiple languages on Unix-like operating systems, many input methods can be used to support input in different languages, but the biggest problem with SCIM is its compatibility. In many cases, users cannot use it normally, it brings great inconvenience to users.

Because of the above problems, the next generation of input methods came into being. Ibus (http://code.google.com/p/ibus/) is one of the next-generation Input Method frameworks, author Shawn. P. Huang is also the author of scim-python. The other two next-generation input methods are scim2 (home page in Hangzhou) and imbus (http: // code.google.com/p/imbus/, developed by scim的 ). Currently, imbus and scim2.

The main feature of ibus is its C/S structure. The ibus Input Method engine is separate processes. This method can effectively avoid the impact between input methods engines, it is also easy to load and uninstall the input method engine.

Ibus uses middleware as a mechanism for inter-process communication. It features low latency and low overhead, and is small and efficient. It has been widely used in GNOME and KDE. The use of middleware makes ibus small and efficient.

In addition, in terms of graphical interfaces, ibus uses pygtk to make development easier.

Install the ibus Input Method

Add an ibus software source to the system. Edit the/etc/apt/sources. list file and add a line at the end of the file:

Deb http://Ubuntu.cn99.com/ubuntu-cn/ hard main restricted universe multiverse

Update the package list
$ Sudo apt-get update

Search for software packages
$ Apt-cache search ibus | grep ^ ibus
Ibus-iBus-Intelligent Input Bus for Linux/Unix OS
Ibus-pinyin-ibus-pinyin
Ibus-table-IBus-Table

We can see the information of the ibus software package. In the above software package, ibus-pinyin is the engine of the ibus pinyin input method, and ibus-table is the engine of other input methods, such as the fifth generation of cangjie, two pen, five pen 86, five pen 98, Zheng Code, etc.

Install the ibus Software Package
$ Sudo apt-get install ibus-table

Because the author does not use the pinyin Input Method to install ibus and ibus-table, friends who use the pinyin input method also need to install the ibus-pinyin software package, and use the following command to install

$ Sudo apt-get install ibus-table

After the installation is complete, set the user to use the ibus input method by default.

Open a terminal and execute the following command in the terminal:
$ Im-switch-s ibus

Log out of the current user and log on again.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.