A Happy New Year!
This is the first blog entry in 2013.
I have been using "scim" for Japanese input since I started using slackware. It's an ok input method framework, but I always felt a bit uncomfortable for some reasons. So, I looked for another option and found IBus. It looks like this framework will be replacing scim in the near future. So, I decided to give it a try.
The information below is from Linuxquestions.org and some tweaking. It is solely used for my purpose and may not be suitable for others.
First, install ibus, pyxdg, ibus-anthy, and ibus-qt from SlackBuilds.
Then, create a directory and a file in it:
# mkdir /etc/X11/xinit/xinput.d
# vim /etc/X11/xinit/xinput.d/ibus.conf
# allow capslock remap
xmodmap -e 'clear Lock' -e 'keycode 66 = F13'
Then, create a symlink to ~/.xinputrc:
$ ln -s /etc/X11/xinit/xinput.d/ibus.conf ~/.xinputrc
Add following statement in the autostart file (~/.config/openbox/autostart):
ibus-daemon -rxd &
Log out and log back in. There should be a keyboard icon in the system tray. Now, move onto its configuration.
This command brings up the IBus Preferences window:
General->Next input method: "Shift+Meta_L"
Input Method->Select and input method->Japanese->Anthy
Advanced->(check) Share the same input method among all applications