这是一个类似gnome-terminal的“终端模拟器”,相比gnome-terminal,具有更快的启动速度,更少的资源占用,更强的可定制性。你可以从其官方网站下载源码编译安装,亦可以从你的发行版的源中直接安装。Debian中,可以执行以下命令
1 | sudo apt-get install rxvt rxvt-unicode #rxvt-unicode是为了支持中文 |
这样,RXVT就安装好了,默认的界面可能让人很不舒服,就需要一些简单的定制。在用户目录下建立.Xresources文件,然后写入下列配置行:
!!!!!!!!!!!!!!!!!!!!!!!!!rxvt configuration!!!!!!!!!!!!!!!!!!!!!! !! Author: ivan@Dutor.net !! Email: xdutor@gmail.com !! Warning: $ xrdb .Xresources, to come into force !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Rxvt.background:#1B2C18 Rxvt.foreground:gray60 Rxvt.geometry: 90x25+180+200 Rxvt.colorBD:yellow Rxvt.colorUL:green Rxvt.cursorColor:red3 Rxvt.color0:black Rxvt.color1:red3 Rxvt.color2:springgreen Rxvt.color3:wheat3 Rxvt.color4:navy Rxvt.color5:magenta4 Rxvt.color6:steelblue1 Rxvt.color7:gray85 Rxvt.color8:gray10 Rxvt.color9:orangered2 Rxvt.color10:chartreuse3 Rxvt.color11:lightgoldenrod2 Rxvt.color12:skyblue1 Rxvt.color13:pink1 Rxvt.color14:lightblue1 Rxvt.scrollBar:False Rxvt.saveLines:3000 !!Rxvt.font:-b&h-lucidatypewriter-medium-r-normal-*-14-*-*-*-*-*-iso8859-* !!Rxvt.mfont:-*-simsun-medium-r-normal-16-14-*-*-*-c-*-gb*-* !!Rxvt.font:xft:Bitstream Vera Sans Mono-12,xft:WenQuanYi Bitmap Song-12 !!Rxvt.boldFont:xft:Bitstream Vera Sans Mono-12:Bold,xft:WenQuanYi Bitmap Song-12:Bold Rxvt.font:xft:consolas-12,xft:WenQuanYi Bitmap Song-12 Rxvt.boldFont:xft:consolas-12:Bold,xft:WenQuanYi Bitmap Song-12:Bold Rxvt.menu:/etc/X11/rxvt.menu Rxvt.preeditType:Root
为了使配置文件生效,需要使用xrdb(X resources database):
1 | xrdb .Xresources |
为了更好的定制rxvt,请参考urxvt的Manpage。
你好!除了代码,此处没有多少原创之物,皆为本人搜集、整理、总结之记录与心得,欢迎转载分享!转载时请尽量注明出处,将不胜感激。祝你健康、快乐!
rss全文输出比较好。。
现在应该就是全文吧!不行用这个
http://feeds.feedburner.com/dutor