Japanese Input under Linux

From braindump
Revision as of 21:49, 29 May 2012 by Uroesch (talk | contribs) (Created page with "{{DISPLAYTITLE:Japanese Input under Linux}} Getting Japanese input to work under Linux was a major pain back in the day. For work reason I did not use a Linux system for quite so...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Getting Japanese input to work under Linux was a major pain back in the day. For work reason I did not use a Linux system for quite some time privately. So when I switched back to Linux I had to get Japanese Input working and please as simple and universal as on MacOS X.

Turns out that the newest kid on the block ibus is getting me what I want. On my PPC Debian wheezy box it took less than 15 minutes including the installation. Below is short reminder for myself how to do it.

Software installation

sudo apt-get install ibus ibus-anthy

Configuration

All the steps below are to be run as normal non-privileged user.

  1. From the command line run the im-config command.
  2. Click [Yes] until a choice of input methods is available. Choose the default one.
  3. Next run ibus-setup onfigure the keyboard shortcuts of choice and under the [Input Method] tab add Japanese -> Anthy.
  4. Edit ~/.bashrc and add the following lines
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
  1. Restart X session