|
|
I use the command apt-get to install SCIM hoping my Freespire could support chinese input. But, it doesn't work. The installation process was expressed in the article "Make Debian support Chinese (eng)".
First, I get the following packages installed.
scim - SCIM (Smart Common Input Method platform)
scim-config-gconf - SCIM Gconf settings module
scim-config-socket – SCIM Socket settings module
scim-frontend-socket - SCIM Socket frontend module
scim-gtk2-immodule - SCIM GTK2 IMModule input backend
scim-server-socket - SCIM Socket server module
scim-chinese (optional) - SCIM Chinese Smart Pinyin input method module (Will rename as scim-pinyin in next version)
scim-tables-zh - SCIM Chinese input tables (including Cangjie5[仓颉五代],
Second, I generate the data of the following locales
zh_CN
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
zh_TW
zh_TW.big5
zh_TW.utf8
Third, Create a new file /etc/X11/Xsession.d/95xinput with the following lines:
case "$LANG" in
zh_TW*)
/usr/bin/scim -d
XMODIFIERS="@im=SCIM"
;;
zh_HK*)
/usr/bin/scim -d
XMODIFIERS="@im=SCIM"
;;
zh_CN*)
/usr/bin/scim -d
XMODIFIERS="@im=SCIM"
;;
esac
export XMODIFIERS
export LANG=zh_CN.UTF-8
END!
Does someone kown what's wrong with this or there are setps I missed. |
|