Enable Japanese input on Debian/Ubuntu

Normally, I would install Scim and Anthy for Japanese input method on Debian. Recently, I found an easier way to achieve the same thing, which is to use IBus instead of Scim.

  1. Install ibus: sudo apt-get install ibus ibus-anthy ibus-gtk
  2. From the menu, System -> Preferences -> IBus Preference
    IBus Preference should detects that you have run IBus daemon yet, click “Yes” to run it.
  3. You’ll be asked to edit yoru .bashrc and add the following 3 lines:

    export GTK_IM_MODULE=ibus
    export XMODIFIERS=@im=ibus
    export QT_IM_MODULE=ibus
  4. Click on “Input Method” tab, if you don’t see “Japanese – Anthy” listed under the Input Method list, select “Japanese -> Anthy” from the “Select an input method” drop down list, then click Add.
  5. You might want to restart X (logout and log back in)
  6. Open a text editor, and hit Ctrl + Space to toggle the Japanese input method

Reference: Japanese Input with Karmic?

5 thoughts on “Enable Japanese input on Debian/Ubuntu

  1. Barry Horowitz says:

    This worked and it was easy. the only thing that I had to do was remove English from the list of languages in the ibus input tabs.

  2. Ninja says:

    Fantastic HowTO. It took me three days of googling and no progress. After I came across this site and followed the instruction, within 3 minutes. I can type 日本語!!
    Thanks a lot.

Leave a reply to Ninja Cancel reply