Japanese Input with Mozilla under Linux
One of the frustrations I had for many years was that I couldn't get
proper Japanese input working with Netscape 4.x under Linux.
Finally, in May 2002 I heard that it worked OK with Mozilla 1.0, and that
was enough to make me change over.
The steps to make this happen are actually very simple:
Once all that is in place, all I need to do is use the normal shift_space
to turn kinput2 on and off when inputting into Mozilla.
- you need a conversion server running. My RH7.x systems seem to come
with Canna running, so that's what I use.
- kinput2 needs to be running with the XIM protocol enabled. I launch
kinput2 -canna -xim
- mozilla needs the LANG variable set to Japanese at launch time before
it will connect to kinput2 via the XIM protocol. I have a Mozilla button
on my panel with the command:
The XMODIFIERS might not be necessary.
LANG=ja_JP XMODIFIERS=@im=kinput2 /usr/bin/mozilla
Hope this helps
Jim Breen's Home Page and Japanese Page.