apt-get install scim-chinese scim-config-socket scim-frontend-socket scim-server-socket xfonts-intl-chinese xfonts-intl-chinese-big ttf-arphic-gbsn00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp ttf-arphic-bsmi00lp vi /etc/X11/Xsession.d/x95input export XMODIFIERS=@im=scim ; export GTK_IM_MODULE=scim ; scim -d restart