#apt-get install scim scim-chinese
# dpkg-reconfigure locales
Generating locales (this might take a while)...
en_US.UTF-8... done
zh_CN.UTF-8... done
zh_CN.GB18030... done
zh_TW.BIG5... done
zh_TW.UTF-8... done
Generation complete.
cd to /etc/X11/Xsession.d and create a file named 95scim_start, then input the following contents.
export XMODIFIERS=@im=SCIM
export XIM=SCIM
export XIM_PROGRAM=SCIM
#export GTK_IM_MODULE=SCIM
#scim -d
write the following to /etc/environment:
LANG="en_US.UTF-8"
LC_CTYPE="zh_CN.UTF-8"
I had my machine installed the following words style:
ii ttf-arphic-uming 0.1.20060928-2 "AR PL ShanHeiSun Uni" Chinese Unicode TrueT
ii ttf-bitstream-vera 1.10-7 The Bitstream Vera family of free TrueType f
ii ttf-dejavu 2.15-1 Vera font family derivate with additional ch
ii ttf-freefont 20060501cvs-10 Freefont Serif, Sans and Mono Truetype fonts
ii ttf-opensymbol 2.0.4.dfsg.2-7etch1 The OpenSymbol TrueType font
configure my favorite text editor.
#update-alternatives --config editor
ctrl - alt - backspace, restart your X-window.
enjoy it !
PS:
baptism:/home/zausiu# dpkg --list | grep scimii libscim8c2a 1.4.7-3 library for SCIM platform
ii scim 1.4.7-3 smart common input method platform
ii scim-chinese 0.5.91-1 smart pinyin IM engine for SCIM (transitional package)
ii scim-gtk2-immodule 1.4.7-3 GTK+2 input method module with SCIM as backend
ii scim-modules-socket 1.4.7-3 socket modules for SCIM platform
ii scim-modules-table 0.5.8-1 generic tables IM engine module for SCIM platform
ii scim-pinyin 0.5.91-1 smart pinyin IM engine for SCIM platform
ii scim-tables-zh 0.5.8-1 Chinese input method data tables for SCIM platform