ubuntu7.04中Scim出现问题及解决方法

Opear下无法使用scim:

sudo gedit /usr/bin/opera

第二行空白处输入:

export QT_IM_MODULE=XIM

英文环境下使用scim:

sudo gedit /etc/X11/Xsession.d/95xinput
输入:
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim(如果没有QT程序可以不加)
scim -d

然后保存,注销,重新进入就可以了。

EVA与Scim冲突的解决方法:

sudo apt-get install scim-bridge

编辑im-switch生成的scim配置文件
sudo gedit /etc/X11/xinit/xinput.d/scim

将默认的 GTK_IM_MODULE=scim 修改为 GTK_IM_MODULE="scim-bridge"

将默认的 QT_IM_MODULE=scim 修改为 QT_IM_MODULE="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="scim-bridge"
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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/b92f12a80b8b0a180505a5605c61ea41.html