Intelligent Input Bus
Intelligent Input Bus (IBus)
|Original author(s)||Peng Huang|
|Initial release||August 2008|
|Stable release||1.4.2 / August 22, 2012|
|Written in||C, Python|
|License||GNU LGPL v2 or later|
The Intelligent Input Bus (IBus, pronounced as I-Bus) is an input method (IM) framework for multilingual input in Unix-like operating systems. It's called "Bus" because it has a bus-like architecture.
The main goals of the IBus project include:
- Provide full featured and user friendly input method user interface.
- Employ authentication measures to improve security.
- Provide an universal interface and library for input method developers.
- Fit the need of users from different regions and customs.
The draft Specification of IM engine Service Provider Interface document from the Northeast Asia OSS Forum Work Group 3 recommends bus-centric IM framework architectures with a bus implementation (similar to dbus). According to the specification, SCIM-1.4 is not considered suitable for further development as it is developed in C++, which usually causes ABI transition problems.
Since then, succeeding projects like IM-BUS (led by James Su) and SCIM-2 (led by Zheng Hu) were started. However, both projects are suspended. Therefore, Huang Peng from Red Hat established the IBus project to prove the idea of IM-BUS by using Python, D-Bus and GLib rather than implementing the functions recommended by CJK OSS forum. In spite of that, IBus has already gained community acceptance, and FreeBSD and many Linux distribution such as Fedora and Ubuntu already have IBus in their package repositories. IBus became the new default input method framework in Fedora 11, and replaced SCIM in Ubuntu 9.10.
IBus provides most of its functionality through services. There are three kinds of services:
- Input method engine (IME): Actual input method.
- Configuration: Handles the configuration for IBus and other services such as IME.
- Panel: User interface such as language bar and candidate selection table.
IBus employs D-Bus to communicate among ibus-daemon, services, and IM clients such as terminal emulators, editors and web browsers. ibus-daemon manages all clients and services and clients by receiving registrations from services, and sending D-Bus message to corresponding services and IM client.
- Engine loading/unloading on demand.
- Systray support.
- Works with XKB.
- Immediately applies configuration changes.
- Provides C and Python bindings.
Available Input Method Plugins and Engines 
- ibus-anthy: A plugin for Anthy, a Japanese IME.
- ibus-chewing: An intelligent Chinese Phonetic IME for Zhuyin users. It is based on libChewing.
- ibus-hangul: A Korean IME.
- ibus-m17n: A m17n IME which allows input of many languages using the input methods from m17n-db. See more details in #ibus-m17n.
- ibus-mozc: A plugin to the Japanese IME "mozc" developed by Google.
- ibus-pinyin: An intelligent Chinese Phonetic IME for Hanyu pinyin users. Designed by IBus main author and has many advanced features such as English spell checking.
- ibus-table: An IME that accommodates table-based IMs. See more details in #ibus-table.
- ibus-unikey: An IME for typing Vietnamese characters.
ibus-m17n is an IME that uses input methods and corresponding icons in the m17n database. Unlike ibus-table which supports plain tables, m17n input methods also support states, whose labels are displayed on the IBus panel (language bar). M17n input methods also support surrounding text, consequently, languages such as Thai and IMs such as plain Zhuyin that require this feature are supported through ibus-m17n.
ibus-table, developed by Yu Wei Yu, is an IME that loads tables of input methods which do not need complicated logic to select words. Many structure-based Chinese input methods such as Cangjie and Wubi are supported this way.
Officially released IM tables:
- latex: Input special characters using latex syntax. Included in ibus-table package.
- compose: input special letter by compose letter and diacritical mark. Included in ibus-table package.
- Array30: Array30 Chinese IM tables.
- Cangjie: Cangjie 3 and 5 Chinese IM tables.
- Erbi: Er-bi Chinese IM table.
- Wubi: Wubi Chinese IM table.
- Yong: YongMa Chinese IM Table.
- ZhengMa: ZhengMa Chinese IM Table.
See also 
- Official website
- IBus source code Git
- Comparison of Chinese Input Method Servers for Unix-like Operating Systems