urxvt 使用技巧!
Thursday, April 13, 2006 5:42:30 AM
首先让我们找到urxvtd这个程序
让后在你的.xinitrc中加入
urxvtd& . . . killall -s9 urxvtd #这个是必须的,因为当X退出是不会结束这个进程!
然后我们在终端里运行
urxvtc && urxvtc && urxvtc ps -A #看看你的进程情况?
2. 让你的urxvt能使用tab:
其实方法很简单,请确保你的urxvt编译是有perl支持
urxvtc -pe tabbed
看看效果吧,注意左上角!
然后shift+down是新建tab,shif+left左移一个,shift+right...
3.
再看看这个,注意右上角:
urxvtc -pe digital-clock
其实 -pe后面跟的是perl扩展的名字,都是urxvt自带的,看看都有那些:
[yurt@yurt ~] [13:43:01 ]
<2 files 50M >
>>>ls /usr/X11R7/lib/urxvt/perl/
automove-background example-refresh-hooks readline selection selection-popup xim-onthespot block-graphics-to-ascii mark-urls remote-clipboard selection-autotransform tabbed digital-clock option-popup searchable-scrollback selection-pastebin urxvt-popup
以下是我.Xdefaults的urxvt部分:
URxvt.visualBell: False
urxvt*inheritPixmap: true
urxvt*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1,\
-wenquanyi-*-medium-r-normal--13-*-*-*-p-*-iso10646-1
urxvt*cursorBlink: true
urxvt*fading: 80
URxvt.shading: 60
urxvt*scrollBar: false
urxvt*saveLines: 2000
urxvt*borderLess: true
urxvt*colorBD: white
urxvt*colorIT: green
URxvt.background: gray25
URxvt.foreground: gray85
URxvt.cursorColor: red3
URxvt.color0: #000000
URxvt.color1: #800000
URxvt.color2: #008000
URxvt.color3: #d0d090
URxvt.color4: #000080
URxvt.color5: #800080
URxvt.color6: #d0d0d0
URxvt.color7: #b0b0b0
URxvt.color8: #f08060
URxvt.color9: #f08060
URxvt.color10: #60f080
URxvt.color11: #e0c060
URxvt.color12: #80c0e0
URxvt.color13: #f0c0f0
URxvt.color14: #c0d8f8
URxvt.color15: #e0e0e0
URxvt.preeditType: Root
另外如果使用tab的话,shading效果不可用!
待续……







.l_l.xrkh # Friday, April 14, 2006 12:28:11 PM
有能用ctrl+c、ctrl+v等等快捷键的吗?
URxvt怎么样?
Yuntyunt # Friday, April 14, 2006 12:38:49 PM
可是在终端下ctrl+c可是中断程序……
不过我觉得鼠标滚轮复制也挺好用的,学者适应吧,忘掉win那一套……
PS:我觉得这样的设计还是挺合理的,按一个键起码比两个一起按要好的多,再说正常人右手都比左手熟练的……
.l_l.xrkh # Saturday, April 15, 2006 11:35:52 AM
Yuntyunt # Saturday, April 15, 2006 2:49:41 PM
Anonymous # Saturday, June 10, 2006 5:57:42 PM
Yuntyunt # Sunday, June 11, 2006 8:01:14 AM
那写color的参数的意思是重新定义urxvt的16种基本颜色的值,一般情况下在终端里使用的颜色定义用的都是"red","black"或者"01;31", "01;35"等等这样的颜色名称,可是真正的颜色应该是rgb的十六进制数,上面提到的那些只不过是为了好记而做的映射,比如说“red"对应#FF0000,那我们可以用重定义的方法来重新映射那些颜色,你也完全可以把"red"重定义成标准的绿色:)
Anonymous # Sunday, April 29, 2007 6:41:40 PM
Anonymous # Saturday, March 26, 2011 1:56:16 PM