Using Japanese on Debian Wheezy

The goal is to make the system capable for Japanese input, while letting the base system remain English. For the Japanese input method, I had been using Anthy, but I will be using mozc, which is now better supported and presumably much better (it is).

First, set up locales and install im-config. In addition to my base English locale (en_US.UTF-8), install Japnese locales ja_JP.EUC-JP and ja_JP.UTF-8:

$ sudo aptitude install locales im-config
$ sudo dpkg-reconfigure locales

Set the default locale for the system to en_US.UTF-8.

Install some Japanese fonts:

$ sudo aptitude install ttf-kochi-mincho ttf-kochi-gothic ttf-sazanami-mincho


Install IBus-related packages and configure for KDE:

$ sudo aptitude install ibus ibus-mozc ibus-qt4 ibus-gtk ibus-gtk3 ibus-clutter
$ im-config
... choose IBus ...

Run the IBus setup program:

$ ibus-setup

If asked, start ibus-daemon. Logout the KDE sesssion, restart X session, and login again. Under the Input Method tab, add “Japanese – Mozc”. Configure IBus to my liking, such as making Ctrl + Space (as opposed to Shift + Space) trigger the Japanese input mode. The IBus icon also shows up in the system tray, from which various settings can be changed.



$ sudo aptitude install ibus-mozc mozc-utils-gui
$ /usr/lib/mozc/mozc_tool --mode=config_dialog

to configure Mozc to my liking.

Using Japanese in Emacs

Install ibus-el:

$ sudo aptitude install ibus-el

Within emacs, M-x ibus-mode will toggle IBus on and off. Very easy!

This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

4 Responses to Using Japanese on Debian Wheezy

  1. Atarakt says:

    Thanks a lot, it perfectly work for me. ;)

  2. Juanmi says:

    Thank you very much it worked great in debian.
    どもありがとうございます :)

  3. Pirategoerges says:

    Thank you very very much, you saved me from hellbringer and headach!


  4. bibbleCake says:

    Perfectumundo, my good man! Nice and easy – thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>