Differences between revisions 5 and 21 (spanning 16 versions)
Revision 5 as of 2010-05-24 03:42:14
Size: 2918
Editor: ?richardchu
Comment:
Revision 21 as of 2022-05-29 08:09:36
Size: 3489
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.

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.

See [[https://www.debian.org/doc/manuals/debian-reference/ch08.en.html#listofibusanditsenginepackages|List of IBus and its engine packages]] for IM engine choices.

Please note DebianPkg:ibus-keyman provides easy access to many phonetic characters (for over 2000, but not for Chinese/Japanese ideographs).
Line 9: Line 21:
== ...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 27:
# 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 32:
 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 {{{.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 37:
As an additional note: there is a plasmoid called ''kimpanel'', which you can find at [[http://websvn.kde.org/trunk/KDE/kdeplasma-addons/applets/kimpanel/]]. This should further simplify using ibus. But is not yet in Debian. === 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 43:
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 35: Line 45:
For example, I assume you want to use chewing input of Chinese

step 1

in terminal, run

apt-get install ibus ibus-chewing im-switch

step 2

run

im-switch -s ibus

step 3

run i-bus preferences in gui environment, and add chewing as your desired input method.

step 4

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 58: Line 48:
 * [[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 61: Line 51:
 * [[https://tracker.debian.org/pkg/ibus|ibus' tracker entry]]
Line 62: Line 53:
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.

See List of IBus and its engine packages for IM engine choices.

Please note ibus-keyman provides easy access to many phonetic characters (for over 2000, but not for Chinese/Japanese ideographs).

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