forked from phuang/ibus
-
Notifications
You must be signed in to change notification settings - Fork 180
ReadMe
user202729 edited this page Aug 6, 2021
·
6 revisions
IBus means Intelligent Input Bus. It is an open source input framework for Linux/Unix OS.
$ dnf install ibus\*
$ sudo apt-get install ibus-gtk ibus-qt4 ibus-pinyin
$ im-switch -s ibus
or
$ im-config -s ibus
Logout and re-login
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.
$ sudo pacman -S ibus
$sudo zypper in ibus-libpinyin ibus-gtk3 ibus-gtk ibus-qt
for GNOME, Settings -> Region& Language -> Input Sources -> click "+" -> select Chinese ->Intelligent Pinyin
Please read install guide for users or developer guide for developers
$ /usr/bin/ibus-daemon --xim &
$ /usr/bin/ibus-setup
# gtk application
$ GTK_IM_MODULE=ibus gedit
# kde application
$ QT_IM_MODULE=ibus kwrite
# old X application
$ XMODIFIERS="@im=ibus" xterm