您查看的文章来源于http://www.oklinux.cn
今天难得上了下Ubuntu中文论坛,收获不小,最重要的是,终于解决我的eva在聊天窗口用右键要崩溃的问题了!
这个问题,相信很多的在Ubuntu下用eva的朋友都碰到过(至少我几个用Ubuntu的兄弟都跟我遭遇一样)。现在问题解决了,再也不必惧怕朋友发来网址的那一刻了。哈哈~
接下来着手解决问题吧!注:我是用fcitx输入法,这个崩溃问题与输入法有关,不知道用scim的朋友能不能用这种方法
首先打开终端,确认这些包已经安装:
sudo apt-get install im-switch libapt-pkg-perl fcitx
安装完毕后,确认fcitx是当前输入法:
sudo im-switch -s fcitx
然后用自己喜欢的编辑器,编辑这个文件
sudo gedit /etc/X11/xinit/xinput.d/scim
把文件里:
GTK_IM_MODULE=”scim”
QT_IM_MODULE=”scim”
这两行的scim都替换成xim
所以修改好应该是这个样子:
# im-switch configuration file for scim
# should be installed as /etc/X11/xinit/xinput.d/scim
# this configuration uses GTK IM module and Qt IM module provided by SCIM
# exported enviroment variables
XMODIFIERS=”@im=SCIM”
GTK_IM_MODULE=”xim”
QT_IM_MODULE=”xim”
# command and arguments to invoke scim
XIM_PROGRAM=”/usr/bin/scim”
XIM_ARGS=”–daemon”
# package dependency (note that the format used here is not environment
# variable, but some format for libapt-pkg-perl and is parsed by grep,
# so can’t be quoted, and no spaces allowed)
DEPENDS=scim-gtk2-immodule,scim-qtimm
最后保存,退出,看看你的eva在右键粘贴东西的时间,还会不会崩溃?反正我的是不会了。
为什么eva的崩溃问题,跟scim的输入法配置文件有关?这个不清楚了。
原贴是:http://forum.ubuntu.org.cn/viewtopic.php?t=55460