ReadMe

tao-ning edited this page Oct 12, 2016 · 2 revisions

Read me at first

Featured

What is ibus

IBus means Intelligent Input Bus. It is an open source input framework for Linux/Unix OS.

Install binary packages

Fedora 9 and later

 $ yum install ibus\*

Ubuntu

 $ sudo apt-get install ibus-gtk ibus-qt4 ibus-pinyin
 $ im-switch -s ibus
 Logout and re-login

Gentoo

ibus, ibus-pinyin, ibus-table, ibus-anthy, ibus-chewing, ibus-hangul, and ibus-m17n have been added into portage, so you can directly emerge them if you have up-to-date portage :)

  • For example, when you want ibus-pinyin,
 $ emerge -av ibus-pinyin
  • When you want ibus-table,
 $ emerge -av ibus-table
  • When you want ibus-anthy,
 $ emerge -av ibus-anthy
  • If you want use git ebuilds, please add gentoo-china overlay, which includes 9999 ebuild for ibus, ibus-pinyin, ibus-table, ibus-anthy, and ibus-chewing.
 $ emerge -av layman && layman -a gentoo-china
  • To use the 9999 ebuild you need to accept the ** keyword for specific packages. For instance, if we want to emerge the ibus-9999, we need to accept the ** for ibus, then:
 $ echo "app-i18n/ibus **" >> /etc/portage/package.keywords
 $ emerge -av ibus
  • For more detail about the keywords masking, please refer to the handbook of gentoo.

Arch Linux

openSUSE 13.1 or later

 $sudo zypper in ibus-libpinyin ibus-gtk3 ibus-gtk ibus-qt

for GNOME, Settings -> Region& Language -> Input Sources -> click "+" -> select Chinese ->Intelligent Pinyin

Build & Install From Git repository

Please read install guide for users or developer guide for developers

Test ibus

Run ibus

 $ /usr/bin/ibus-daemon --xim &
 $ /usr/bin/ibus-setup

Run gnome, kde or old X applications

 # gtk application
 $ GTK_IM_MODULE=ibus gedit
 # kde application
 $ QT_IM_MODULE=ibus kwrite
 # old X application
 $ XMODIFIERS="@im=ibus" xterm