分页: 1 / 1
RXVT的中文问题
发表于 : 2005-08-20 23:36
由 林杰杰
RXVT很好用,速度很快(粗略试了一下,比GNOME终端可以快九倍以上),美中不中足的地方是,显示不了中文……
不过我记得在红旗Linux4.0中用的终端就是RXVT,并且可以显示中文,这是怎么弄的呢?
安装了Rxvt-unicode和rxvt-ml都解决不了,郁闷。大家帮帮我吧。谢谢。
发表于 : 2005-08-21 0:05
由 yonsan
给你贴一下我的配置,供你参考!!
我使用的是rxvt-unicode,配置urxvt终端(透明式样)
新建.Xdefaults
代码: 全选
gedit $HOME/.Xdefaults
粘贴以下内容后保存!
代码: 全选
!!=============================================================================
!! 设置 Xftp.dpi(字体分辨率)
!!=============================================================================
Xft.dpi:96
!!=============================================================================
!! RXVT-unicode setting
!!=============================================================================
Rxvt.background:black
Rxvt.foreground:antiquewhite
Rxvt.inheritPixmap: true
Rxvt.colorBD:yellow
Rxvt.colorUL:antiquewhite
Rxvt.scrollBar:False
Rxvt.scrollBar_left:True
Rxvt.scrollBar_floating: False
Rxvt.scrollstyle:next
Rxvt.scrollColor:AntiqueWhite
Rxvt.saveLines:30000
Rxvt.color12:DodgerBlue
Rxvt.font:7x14,xft:AR PL New Sung
Rxvt.preeditType:Root
(注:根据你的实际字体修改倒数第二行)
发表于 : 2005-08-21 0:34
由 林杰杰
谢谢这位兄弟了。不过在我这里还是不行。继续郁闷。什么时候RXVT才支持中文啊。
发表于 : 2005-08-21 0:44
由 yonsan
用rxvt-unicode可以吖,你用的是什么字体?
发表于 : 2005-08-21 9:52
由 林杰杰
算了,谢谢这位兄弟了。
一得必有一失,尽量少用中文得了。
发表于 : 2006-01-08 23:50
由 zhan
请问Yonsan兄,我用rxvt时,怎么能够输入中文呢?
发表于 : 2006-03-05 14:08
由 pluskid
rxvt-unicode对中文支持很好!
apt-get install rxvt-unicode
用urxvt来调用rxvt-unicode,在.Xresources文件里面写入:
代码: 全选
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! RXVT setting
!Rxvt.background:black
Rxvt.background:black
Rxvt.foreground:white
Rxvt.colorBD:yellow
Rxvt.colorUL:green
!!Rxvt.multichar_encoding:gb2312
Rxvt.scrollBar:True
Rxvt.scrollBar_right:True
Rxvt.scrollBar_floating: False
Rxvt.scrollstyle:next
Rxvt.saveLines:3000
Rxvt.color12:DodgerBlue
!URxvt.font:-xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1,-*-simsun-medium-r-*-*-*-*-*-*-p-*-gb2312.1980-*
URxvt.font:-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1,-misc-simsun-medium-r-normal--0-0-0-0-p-0-iso10646-1
!URxvt.font:-*-simsun-medium-r-*-*-14-*-*-*-p-*-gb2312.1980-*
!Rxvt.menu:/etc/X11/rxvt.menu
Rxvt.preeditType:Root
字体随自己设,也可以实用xft字体,显示可好了!
发表于 : 2006-03-05 15:38
由 ct
靠,实验了下,果然启动很快
我这里装了rxvt-unicode就有中文了。