japanese input: let's add it to Ubuntu Starter Guide
Evan Monroig
evan.ubuntu at gmail.com
Sun Apr 10 08:49:16 UTC 2005
Hi,
If you have tried to setup japanese input with ubuntu, you may have
found the howto on Ubuntu Wiki
http://www.ubuntulinux.org/wiki/JapaneseInputHowto.
I thought that what was described there was quite complex, so maybe it
would be a good idea to rewrite it in a easy-to-understand-way, so
that it can fit in the Unofficial Ubuntu 5.04 Starter Guide
(www.ubuntuguide.org).
Both methods described here works for any application, including
openoffice.org and without having to change LC_CTYPE or any locale
parameter.
What do you think?
Evan
----------
A) How to type Japanese in GTK applications (UIM)?
1) $ sudo apt-get install uim anthy
2) $ gedit ~/.uim
3) Insert the following lines into the new file
# select anthy as default input method for uim
(define default-im-name 'anthy)
4) If you have a Japanese keyboard, insert the following lines as well
# To have the 漢字(半角/全角) key change the input method (japanese keyboard)
(define-key anthy-on-key? '"zenkaku-hankaku")
(define-key anthy-off-key? '"zenkaku-hankaku")
5) Save the file.
6) $ gedit ~/.gnomerc
7) Insert the following lines into the new file
# Tells xorg to automatically use uim as X input method
export XMODIFIERS=@im=uim
# Tells GTK that the default input module is uim
export GTK_IM_MODULE=uim
8) Save the file.
6) Read "Restart Gnome"
7) Applications -> Accessories -> Text Editor
8) SHIFT+SPACE to change between normal and Japanese input.
---------
---------
B) How to type Japanese in GTK applications (SCIM)?
1) $ sudo apt-get install uim anthy scim-gtk2-immodule scim-uim
2) $ gedit ~/.gnomerc
3) Insert the following lines into the new file
# Tells xorg to automatically use uim as X input method
export XMODIFIERS=@im=scim
# Tells GTK that the default input module is SCIM
export GTK_IM_MODULE=scim
4) Read "Restart Gnome"
5) Applications -> Accessories -> Text Editor
6) CTRL+SPACE
7) A box appears. Click on the input method (biggest button) and
change it to Japanese -> UIM-anthy
8) SHIFT+SPACE to change between normal and Japanese input.
---------
More information about the ubuntu-users
mailing list