My Opera is closing 3rd of March
photo of Yunt

云一样的梦…

只是当时已惘然

Subscribe to RSS feed

urxvt 使用技巧!

1.让你的urxvt更省资源:
首先让我们找到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效果不可用!
待续……