Tuesday, July 21, 2009

Input Chinese in Ubuntu(输入中文)

I follow the guidance of website "http://ubuntuforums.org/showthread.php?p=124214".
1. Install libraries:
* 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

2, Open a terminal,
$gvim .xsession

scim -d
export XMODIFIERS=@im=scim
export GTK_IM_MODULE=scim

Then save .xsession under your home direcotry.

$chomd +x .xsession

Restart X server by CTRL+ALT+BACKSPACE

Activate the chinese input by CTRL+SPACE.

Finally I got it. Very cool, just feel a little strange.


This method is dead in June, 2010.

But I find a solution:
$sudo apt-get install scim-qtimm im-switch scim-pinyin
$im-switch -z en_US -s scim

It works again......你看到了吧。。。死掉的SCIM又活回来了。。

Thursday, July 16, 2009

Take your work seriously

1. You are living on it.
2. Your boss pay for your work.
3. The only way to get successful feeling.

Don't let noise to let your work down.

Make clear to work and to life.