debian sarge中文输入

在debian sarge中如何进行中文?特别是通过VNC进行远程桌面时。
首先要安装scim:
apt-get install scim scim-tables-zh scim-chinese
然后建立一个新文件:/etc/X11/Xsession.d/95xinput

case “$LANG” in
zh_TW*)
/usr/bin/scim -d
XMODIFIERS=”@im=SCIM”
;;
zh_HK*)
/usr/bin/scim -d
XMODIFIERS=”@im=SCIM”
;;
zh_CN*)
/usr/bin/scim -d
XMODIFIERS=”@im=SCIM”
;;
esac

export XMODIFIERS

然后,远程桌面登陆后,首先修改启动热键,因为默认的会和WINDOWS上的冲突,被WINDOWS先接收走了,不再传递给VNC了。(比如,可以更改为ctrl+alt+space)
参考:http://wiki.linux.org.hk/index.php/How_to_make_Debian_support_chinese

This entry was posted in Linux and tagged , , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string o1hyZF to the field below:

以新浪微博帐号登录