ubuntu9.04安装ibus
由于我的ubuntu904莫名的启动两个scim输入法,而且有一个是一直僵死的,因此我想卸载掉重装ibus。
参考页:
http://blog.csdn.net/killua_hzl/archive/2009/05/28/4220209.aspx
http://blog.csdn.net/apoxlo/archive/2008/09/17/2944565.aspx
首先应该卸载掉scim,然后备份源source.list文件
sudo apt-get remove scim && sudo apt-get autoremove
sudo gedit /etc/apt/source.list
sudo apt-get update
sudo apt-get install ibus ibus-table ibus-pinyin python-ibus ibus-qt4 ibus-gtk python-dbus
sudo im-switch -s ibus
sudo gedit /etc/X11/xinit/xinput.d/ibusXIM=ibusXIM_PROGRAM=/usr/bin/ibusXIM_ARGS=""GTK_IM_MODULE=ibusQT_IM_MODULE=ximXMODIFIERS="@im=ibus"DEPENDS="ibus"
sudo gedit ~/.bashrcvi ~/.bashrcexport GTK_IM_MODULE=ibusexport XMODIFIERS=@im=ibusexport QT_IM_MODULE=ibus