japanese input: let's add it to Ubuntu Starter Guide

Bengt Thuree bengt at thuree.com
Sun Apr 10 11:56:57 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

This looks good, and I am wondering if anyone with Chinese (simplified)
could contribute with the corresponding steps to enable Chinese
input/output in Ubuntu? Especially, with an English default language.

Thanks

/Bengt

Evan Monroig wrote:
> 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.
> ---------
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCWRSJWJbC0XFEMq0RAvbbAJ95b2f7cgoT6AgAXGYWPeZql0vtOwCfXJ62
cot5e+cfEKzdDmn8bJfkD3U=
=KDL8
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list