Differences between revisions 1 and 15 (spanning 14 versions)
Revision 1 as of 2009-11-09 18:40:25
Size: 2564
Editor: Cùran
Comment: Initial version with information on how to install/activate ibus under KDE4
Revision 15 as of 2021-12-06 07:06:16
Size: 2727
Editor: OsamuAoki
Comment:
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.
Line 4: 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 6: Line 8:
= Using ibus in ... = = Using ibus under ... =
Line 9: Line 11:
== ...KDE4 ==
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.
== ...KDE5 ==
=== The manual way ===
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 14: 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 18: 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 export}}}
 to your {{{$HOME/.bashrc}}}.
 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 {{{.bashrc}}} 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 31: Line 27:
As an additional note: there is a plasmoid called ''kimpanel'' in development (currently in ''kdereview''), which will simplify the usage even further under KDE4. You can find it at the moment at http://websvn.kde.org/trunk/kdereview/plasma/applets/kimpanel/ === The "kimpanel" way ===
'''kimpanel''' is now in Debian (in the package [[DebianPkg:plasma-widgets-addons]]). Here you should only need the first step from the manual way, install [[DebianPkg: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.
Line 34: Line 33:
''Please add information on how to use '''ibus''' on 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 DebianPkg:ibus-pinyin and activate them via GNOME setting for Keyboard.
Line 37: Line 38:
 * [[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 40: Line 41:
 * [[https://tracker.debian.org/pkg/ibus|ibus' tracker entry]]
Line 41: Line 43:
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.

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