Differences between revisions 13 and 14
Revision 13 as of 2021-09-29 19:20:24
Size: 3267
Editor: ThiagoPezzo
Comment: add language code and category
Revision 14 as of 2021-12-06 07:00:36
Size: 2701
Editor: OsamuAoki
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
'''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.
'''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.
Line 5: Line 6:
'''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 10: Line 11:
== ...KDE4 == == ...KDE5 ==
Line 12: Line 13:
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 16: Line 17:
# 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 20: Line 22:
 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 36: Line 30:
If you do this, you can click tray icon and start the ibus-setup program via GUI.
Line 37: Line 33:
For example, I assume you want to use chewing input of Chinese GNOME now uses ibus as its default IM. You still need to add IM engine packages such as DebianPkg:ibus-pinyin .
Line 39: Line 35:
 1. Run in a terminal:
 {{{
# apt-get install ibus ibus-chewing im-config}}}
 for pinyin input install DebPkg:ibus-pinyin.
 1. install the necessary fonts.
 1. Run i-bus preferences in the GUI environment, and add chewing as your desired input method.
 1. Run in a terminal:
 {{{
# im-config -n ibus}}}
 1. Logout and re-login.
 1. The '''ibus''' input method can be activated and deactivated in all applications with the keys configured (default: ''Ctrl'' + ''Space'').
Lack of xkbcomp under non-X, i.e., Wayland was the reason behing this.

Activation of IM engine still must be done via GNOME setting for Keyboard.
Line 52: Line 40:
 * [[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 55: Line 43:
 * [[https://tracker.debian.org/pkg/ibus|ibus' tracker entry]]

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.

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. You still need to add IM engine packages such as ibus-pinyin .

Lack of xkbcomp under non-X, i.e., Wayland was the reason behing this.

Activation of IM engine still must be done via GNOME setting for Keyboard.

Weblinks


CategoryKeyboard CategoryLocalization