sudo gedit /etc/X11/Xsession.d/95xinput
输入内容
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim(如果没有QT程序可以不加)
scim -d
======================================================================================
ubuntu 8.10手工下载安装IBUS:
http://archive.ubuntu.org.cn/ubuntu-cn/dists/intrepid/main/binary-i386/ibus/
ibus 0.1.1 deb包: http://archive.ubuntu.org.cn/ubuntu-cn/dists/intrepid/main/binary-i386/ibus/ibus_0.1.1.20081106-1_i386.deb
安装此处的ibus相关包裹后 如果没办法选择ibus为默认输入法请执行下列命令
sudo update-alternatives "
--install /etc/X11/xinit/xinput.d/zh_CN xinput-zh_CN "
/etc/X11/xinit/xinput.d/ibus 40