Tuesday, January 09, 2007

 

setup chinese input methon in en_US local

- fullfil the file as follow
kk:/home/kk# cat /etc/locale.gen
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8

- use locale-gen command to create a new locale

- install scim, scim-pinyin, imswitch.

- copy the documentation from /etc/X11/xinit/xinput.d/scim to /etc/X11/Xsession.d/90im-switch
don't forget use "export" in front of each line declare.


in ubuntu's fcitx:
sudo apt-get install im-switch

make sure the fcitx file in /etc/X11/xinit/xinput.d/, and the file have some declare, or even copy this declare into the /ect/X11/Xsession.d/90im-switch.
http://forum.ubuntu.org.cn/viewtopic.php?t=33401&highlight=fcitx
Force the IM modules can works in en locale.

"/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?