今天发现很多朋友用输入法时候有问题,下面收集了些相关资料:
现在跟大家分享下im-switch这个套件吧的用法:
安装apt-get install im-switch fcitx scim scim-pinyin
im-switch -c //显示当前系统可用的输入法
im-switch -s scim //改变你的输入法为scim
im-switch -z zh_CN -s scim //选定scim输入法并设定locale语言
知道了上面的命令用法后你应该知道怎么跟接下来的东西作结合了吧:—
说下如今的Ubuntu默认的scim输入法能会与realplay,EVA,OPERA等程序有冲突。建议使用scim-bridge替换scim来解决这问题。
安装scim-bridge;
sudo apt-get install scim-bridge
手动
sudo vi /etc/X11/xinit/xinput.d/scim
将默认的 GTK_IM_MODULE=scim 修改为 GTK_IM_MODULE=”scim-bridge”
将默认的 QT_IM_MODULE=scim 修改为 QT_IM_MODULE=”xim”
修改后的内容如下:
cat /etc/X11xinit/xinput.d/scim
# 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
Ubuntu系统各种输入法使用全面接触
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/a380db75e6931b03f02349e7f086421a.html