Japanese — IBus to the Rescue
こにちは … 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.
<a href="https://en.wikipedia.org/wiki/Smart_Common_Input_Method"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. :)
さようなら
Me on Flattr