User Tools

Site Tools


Sidebar

tool:software:urxvt

Table of Contents

Urxvt

Rxvt Unicode is currently my preferred terminal emulator. I was using Xterm for a bit (kinda just prefer to use plain X and GNU things if they do the job fine), but it annoyed me that it wouldn't resize the content of the window when the window resized.

Configuration

I configure Urxvt in my Xresources file (mine's in .config, but the default location is in your home folder).

URxvt*scrollBar:            false
URxvt.internalBorder:       10
URxvt.highlightColor:       #fce94f
URxvt.highlightTextColor:   #0076a3
URxvt*font:                 xft:input:mono:size=10
  URxvt.letterSpace:        -3
URxvt.keysym.Shift-Up:      command:\033]720;1\007
URxvt.keysym.Shift-Down:    command:\033]721;1\007

Nothing too exciting in my config, but the last two commands let you use Shift+Up/Down to scrolll line-by-line.

Extending

I use an extension that makes URLs into clickable links that will launch in my browser. Very handy for Weechat. You can use the same extensio (matcher) to match any kind of text, actually. Need to set it up for Gopher and things too :3

It's configured with these lines in my Xresources files

URxvt.perl-ext:         default,matcher
URxvt.colorUL:          #46a4ff
URxvt.matcher.button:   1
URxvt.matcher.rend.0:   Uline Bold fg8 bg1
URxvt.url-launcher:     /usr/bin/firefox

See Also

tool/software/urxvt.txt · Last modified: 2020/04/17 04:02 by rjt