Difference between revisions of "IBus"

From ArchWiki
Jump to: navigation, search
(I added information about how to actually set up IBus)
m
Line 12: Line 12:
 
To see available input methods, perform  
 
To see available input methods, perform  
 
  $ pacman -Ss ^ibus-*
 
  $ pacman -Ss ^ibus-*
(a few other assorted packages will appear; I'm not entirely sure if this will return all available input methods)
+
(a few other assorted packages will appear; I'm not entirely sure if this will return all available input methods).
 
Now, you need to configure IBus as the user who will use IBus:
 
Now, you need to configure IBus as the user who will use IBus:
 
  $ ibus-setup
 
  $ ibus-setup

Revision as of 17:55, 28 January 2011


About IBus

IBus ("Intelligent Input Bus") is an input method framework (a system that facilitates rapid entry of foreign characters). It fills a role similar to that of SCIM and UIM. Ubuntu dropped support for SCIM because it is "unmaintained upstream", whereas IBus is still under active maintenance by Red Hat, so Arch users may want to consider IBus or UIM instead of SCIM for a new install.

Installation and Setup

Installation:

# pacman -Sy ibus

You will need at least one input method, which should correspond to the language you wish to type. For example, for Chinese:

# pacman -Sy ibus-pinyin

To see available input methods, perform

$ pacman -Ss ^ibus-*

(a few other assorted packages will appear; I'm not entirely sure if this will return all available input methods). Now, you need to configure IBus as the user who will use IBus:

$ ibus-setup

It will start the daemon and give you this message, which you should follow if you run into trouble:

IBus has been started! If you can not use IBus, please add below lines in $HOME/.bashrc, and relogin your desktop.
  export GTK_IM_MODULE=ibus
  export XMODIFIERS=@im=ibus
  export QT_IM_MODULE=ibus

The default "General" settings should be fine, but go to "Input Methods" and select your input method(s) in the drop down box, then press "Add". You can use multiple input methods if you wish. Once IBus is set up, you can press Ctrl+Space to use it. When using ibus-pinyin (or ibus-anthy?), first type the pinyin (sans tones) for the characters you wish to type. Press Up and Down repeatedly to select a character (going on to the next page if necessary). Press Space to use a character. You can also use PageUp or PageDown to scroll pages, and use the number keys 1-5 to select the character you need. You can enter multiple characters that form a word or phrase (such as "中文") at a time. 懂不懂?