1.在命令行locale只能看见是en
2.我用的是en_US.UTF-8,所以我是这样做的
vi /etc/profile.d/lang.sh
修改为:
export LANG=en_US.UTF
3.让qt和gtk程序使用scim,我没有scim-bridge:
vi /etc/profile.s/scim.sh
修改为:
if [ -x /usr/bin/scim ]; then
# Enable legacy X applications to use scim:
export XMODIFIERS="@im=SCIM"
# Enable Qt/KDE applications to use scim:
export QT_IM_MODULE="xim" #修改后
export GTK_IM_MODULE="xim" #自己添加的
# Make scim start automatically if the "magic key" Ctrl-Space is pressed:
export XIM_PROGRAM="/usr/bin/scim -d"
fi
让/etc/profile.s/scim.sh可执行
chmod +x /etc/profile.s/scim.sh
阅读(257) | 评论(0) | 转发(0) |