Differences between revisions 9 and 20 (spanning 11 versions)
Revision 9 as of 2010-06-19 04:19:03
Size: 3013
Editor: ?richardchu
Comment:
Revision 20 as of 2022-05-25 01:26:56
Size: 3178
Editor: PaulWise
Comment: reduce link verbosity
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''ibus''' is similar to [[../SCIM|SCIM]] in that it too allows a user to enter characters of a different language. E.g. entering Chinese while your system generally uses a German keyboard layout. #language en

'''ibus''' is the default input method (IM) for GNOME desktop. It allows a user to enter characters of a different language. E.g. entering Chinese while your system generally uses a German keyboard layout.

See portal site [[Keyboard]] for general keyboard input topics.

== Package status ==

[[https://qa.debian.org/developer.php?packages=ibus+ibus-libpinyin+ibus-chewing+ibus-zhuyin+ibus-libzhuyin+ibus-array+ibus-table+ibus-table-chinese+ibus-m17n+ibus-cangjie+ibus-rime+ibus-mozc+ibus-anthy+ibus-skk+ibus-kkc+ibus-hangul+ibus-unikey+ibus-libthai+ibus-keyman+keyman+kdeplasma-addons+im-config|Package status for all ibus related source packages]]
Line 4: Line 12:
'''ibus''' is a DBus-based daemon which supports different input method modules (IMmodules) and integrates well with e.g. KDE 4. '''ibus''' is - in contrast to ''SCIM'' - actively developed. '''ibus''' is a IM framework which supports different IM engine packages (sometimes called IM module) and integrates well with all modern Desktops.
Line 9: Line 17:
== ...KDE4 == == ...KDE5 ==
Line 11: Line 19:
The [[KDE]]4 integration/support is already very well in Debian. Just follow the steps below:
 1. Select the IME (Input Method Engine) you want to use (a [[http://packages.debian.org/search?keywords=ibus-|package search for »ibus-«]] shows you all available IMEs). This example will use [[DebianPkg:ibus-table-array30]], just replace it everywhere with the IME you selected.
The [[KDE]]5 integration/support is already very well in Debian via DebianPkg:im-config package. Just follow the steps below:
 1. Select the IM engine you want to use (a [[http://packages.debian.org/search?keywords=ibus-|package search for »ibus-«]] shows you all available IM engines). This example will use [[DebianPkg:ibus-table-array30]], just replace it everywhere with the IME you selected.
Line 15: Line 23:
# aptitude install ibus-table-array30 ibus-qt4 ibus-gtk}}} # aptitude install ibus-table-array30 libqt5gui5 ibus-gtk4 im-config}}}
 1. Reboot (or re-login) to the Desktop.
Line 19: Line 28:
 and configure '''ibus''' according to your wishes (don't forget to select at least one IME in the second tab).
 1. Add
 {{{
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus}}}
 to your {{{$HOME/.xsessionrc}}}. This is a diversion from what {{{ibus-setup}}} tells you, but needed to make it work for all applications inside a KDE session.
 1. Now you need a way to auto-start the '''ibus''' daemon on every login. KDE4 provides the Autostart folder for such occasions:
 {{{
$ echo "ibus-daemon -d -x -r -n kde" > $HOME/.kde/Autostart/ibus-daemon-autostart.sh && chmod +x $HOME/.kde/Autostart/ibus-daemon-autostart.sh}}}
 1. Now you need to relogin to make the {{{.xsessionrc}}} settings global for your KDE session.
 1. After the relogin you can activate and deactivate the '''ibus''' input method in all applications with the keys you configured (default: ''Ctrl'' + ''Space'') as you need it (if some characters can't be displayed you should install a font which carries the required characters).
 and configure '''ibus''' according to your wishes (don't forget to select at least one IM engine in the second tab).
 1. If you have installed multiple IM frameworks, run im-config to select ibus.
 1. im-config will set up required environment variable and also take care starting of daemon program.
 1. You can activate and deactivate the '''ibus''' input method in all applications with the keys you configured (default: ''Ctrl'' + ''Space'') as you need it (if some characters can't be displayed you should install a font which carries the required characters).
Line 35: Line 36:
If you do this, you can click tray icon and start the ibus-setup program via GUI.
Line 36: Line 39:
For example, I assume you want to use chewing input of Chinese GNOME now uses ibus as its default IM. (Lack of xkbcomp under Wayland was the reason behind this change. If you activate IM, X setting by xkbcomp will be overriden.)
Line 38: Line 41:
 1. Run in a terminal:
 {{{
# apt-get install ibus ibus-chewing im-switch}}}
 1. Run i-bus preferences in the GUI environment, and add chewing as your desired input method.
 1. Run in a terminal:
 {{{
# im-switch -s ibus}}}
 1. Logout and re-login, done.
You still need to add IM engine packages such as DebianPkg:ibus-pinyin and activate them via GNOME setting for Keyboard.
Line 48: Line 44:
 * [[http://code.google.com/p/ibus/|ibus homepage]]
 * [[http://websvn.kde.org/trunk/kdereview/plasma/applets/kimpanel/|kimpanel source]]
 * [[https://github.com/ibus/ibus|ibus source]]
 * [[https://github.com/wengxt/gnome-shell-extension-kimpanel|kimpanel source]]
Line 51: Line 47:
 * [[https://tracker.debian.org/pkg/ibus|ibus' tracker entry]]
Line 52: Line 49:
CategoryKeyboard CategoryKeyboard CategoryLocalization

ibus is the default input method (IM) for GNOME desktop. It allows a user to enter characters of a different language. E.g. entering Chinese while your system generally uses a German keyboard layout.

See portal site Keyboard for general keyboard input topics.

Package status

Package status for all ibus related source packages

Basic information

ibus is a IM framework which supports different IM engine packages (sometimes called IM module) and integrates well with all modern Desktops.

Using ibus under ...

The following sub sections hold information on how to use ibus in a specific desktop environment.

...KDE5

The manual way

The KDE5 integration/support is already very well in Debian via im-config package. Just follow the steps below:

  1. Select the IM engine you want to use (a package search for »ibus-« shows you all available IM engines). This example will use ibus-table-array30, just replace it everywhere with the IME you selected.

  2. Run (as root)
    # aptitude install ibus-table-array30 libqt5gui5 ibus-gtk4 im-config
  3. Reboot (or re-login) to the Desktop.
  4. Run (as a user)
    $ ibus-setup 

    and configure ibus according to your wishes (don't forget to select at least one IM engine in the second tab).

  5. If you have installed multiple IM frameworks, run im-config to select ibus.
  6. im-config will set up required environment variable and also take care starting of daemon program.
  7. You can activate and deactivate the ibus input method in all applications with the keys you configured (default: Ctrl + Space) as you need it (if some characters can't be displayed you should install a font which carries the required characters).

The "kimpanel" way

kimpanel is now in Debian (in the package plasma-widgets-addons). Here you should only need the first step from the manual way, install plasma-widgets-addons additionally and add the kimpanel to your Plasma workspace.

If you do this, you can click tray icon and start the ibus-setup program via GUI.

...Gnome

GNOME now uses ibus as its default IM. (Lack of xkbcomp under Wayland was the reason behind this change. If you activate IM, X setting by xkbcomp will be overriden.)

You still need to add IM engine packages such as ibus-pinyin and activate them via GNOME setting for Keyboard.

Weblinks


CategoryKeyboard CategoryLocalization