Skip to content

Japanese — IBus to the Rescue

January 24, 2012

こにちは … it works. :)
Hiragana typed on a normal keyboard. :)
The way to go seems to be IBus with the Anthy engine. That worked fine once I got all the environment variable set up the right way.

export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=”@im=ibus”

I had to put them in $HOME/.kde/env/ibus.sh for KDE to recognise them. $HOME/.bashrc was not enough.

Then I added ibus-daemon -xim to the autostart in KDE Systemsettings and after a KDE restart Ctrl+Space now activates Hiragana input. Very nice.

If only actually learning Japanese was that easy. :D

I afterwards remapped the activation key to the Scroll Lock key, since Ctrl+Space is already taken by Lokalize which I use quite a lot.

SCIM loses distro support because it is written in C++ and thus is a pain due to ABI incompatibilities when a distro wants to transition to a newer version. I am a bit confused by that justification. But well, my head is needed elsewhere now. :)

さようなら

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: