Chinese Input for Ubuntu Hoary

1) install the following packages:
* scim
* scim-chinese
* scim-config-socket
* scim-frontend-socket
* scim-gtk2-immodule
* scim-server-socket
* scim-tables-zh (option)
* xfonts-intl-chinese
* xfonts-intl-chinese-big
* ttf-arphic-gbsn00lp
* ttf-arphic-gkai00mp
* ttf-arphic-bkai00mp
* ttf-arphic-bsmi00lp

accept all dependencies.

2) System -> Preferences -> Sessions

Startup Programs Tab -> Add Button
Startup Command: scim -d
Order: 80

3) Restart Gnome: CTRL+ALT+SUPPR

4) Open any software and press CTRL+SPACE to activate chinese input
------------------------------------------------------------------------------------------------------

IF not working you can as an alternative replace step 2) as follow:

2) alt+F2, gedit

type these few lines:
scim -d
export XMODIFIERS=@im=scim
export GTK_IM_MODULE=scim
gnome-session
Save them under your home directory name: .xsession

Then open a terminal and type:
$chmod +x .xsession
------------------------------------------------------------------------------------------------------

Tips


Additional Instructions for OpenOffice:
Tools=>Options=>Language Settings=>Languages: enable Asian languages support and choose the asian default language for document. (chinese simplified for example)
Tools=>Options=>Text Document=>Basic Fonts (Asian): change all of them for "AR PL Kaitim GB" or your favorite chinese font.

Clean Font
Add Firefly's font "AR PL New Sung"

Open a terminal and type
$wget http://firefly.idv.tw/apt/firefly-font/fireflysung-1.3.0.tar.gz
$tar zxvf fireflysung-1.3.0.tar.gz
$sudo cp fireflysung-1.3.0/fireflysung.ttf /usr/share/fonts/truetype/
$sudo fc-cache -f -v
Alternative repositories
$wget http://cle.linux.org.tw/fonts/FireFly/fireflysung-1.3.0.tar.gz
or
$wget http://apt.nc.hcc.edu.tw/pub/FC_src/fireflysung-1.3.0.tar.gz
or
$wget http://www.study-area.org/apt/firefly-font/fireflysung-1.3.0.tar.gz
More Fonts
Install msttcorefonts, open a terminal:
$sudo apt-get install msttcorefonts

你可能感兴趣的:(chinese)