1. sudo apt-get install scim

2.sudo apt-get install scim-chinese

3.在etc/X11/Xsession.d/95xinput 添加内容

/usr/bin/scim -d

XMODIFIERS="@im=SCIM"

export XMODIFIERS

export GTK_IM_MODULE=scim

重启动系统,按CTRL+空格 调出SCIM