From Gentoo Wiki
Jump to: navigation, search

IBus (Intelligent Input Bus) is an open source input framework for Linux and Unix.


Except for the basic IBus framework, one or more engines should be installed. For example:

root #emerge --ask ibus ibus-pinyin

Have a look at the eix output for more available engines:

user $eix -c ibus -I app-i18n

For graphical toolkit integration, app-i18n/ibus offers gtk (this refers to gtk+:2) and gtk3 useflags, and there is a separate app-i18n/ibus-qt package for Qt (including KDE) as well. Don't forget to install this latest package if you are a KDE/QT user

You can use app-i18n/im-chooser for selecting your preferred input method. As for now all im-chooser packages are marked unstable, though.

If nothing starts (no ibus daemon) when you log in, you can use put this in your .xprofile file:

FILE ~/.xprofile
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
ibus-daemon -drx

You can finely tune the installation by running

user $ibus-setup
for setting your preferred input methods and the system keyboard you use, as well as whether you want an icon in the taskbar
user $qtconfig
to tell Qt ibus is now your input method.

Related pages