topic title: urxvt settings
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#1
I ported my uxrvt settings to antiX. I've attached two screen shots to try to give you an idea of what it looks like. The first one shows the"tabs" feature.

The settings are in the attached Xresources. gz file. Ungzip it and then rename it to .Xresources. Finally, add this line to your startup file:

Code: Select all

 [ -r ~/.Xresources ] && xrdb -load ~/.Xresources
For testing just run the following in the command line:

Code: Select all

xrdb -load ~/.Xresources
and then open a new urxvt.

This configuration is probably way too fancy for antiX. The fancy background stuff (blurring and tinting) is expensive and people might find the text colors a little confusing. The font size changer (which IMO is a *great* feature for a live system) was not available in antiX so I took the stuff for it out of .Xresources.

Arch (of course) has a
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/rxvt-unicode"
linktext was:"good guide"
====================================
. With a little tweaking, we could probably come up with a good default for antiX-14.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Too freaking cool. Thanks BitJam.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#3
Here is a recipe to make the font size adjustable via ctrl-shift-up/down.

1) Make the following two directories:

Code: Select all

mkdir -p ~/.config/xresources
sudo mkdir -p /usr/local/lib/urxvt/perl
2) Unzip the attached font.gz file and put it in the /usr/local/lib/urxvt/perl directory.

3) Add these lines to your .Xresources file:

Code: Select all

URxvt.perl-lib: /usr/local/lib/urxvt/perl
URxvt.keysym.Control-Shift-Up:      perl:font:increment
URxvt.keysym.Control-Shift-Down:    perl:font:decrement
4) Edit the following line in .Xresources by adding",font" at the end so it becomes:

Code: Select all

URxvt.perl-ext-common:  default,tabbed,matcher,font
5) Re-run xrdb and open a new urxvt:

Code: Select all

xrdb -load ~/.Xresources
urxvt &
The switching is rather funky in VirtualBox. That might be partly due to an interaction between Virtual box and the ctrl-shift key combo.

edit: A more up-to-date way to enable font size changes is available in this
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/majutsushi/urxvt-font-size"
linktext was:"GitHub repo"
====================================
. The recipe basically the same, with a more up-to-date extension. Again, I think this is a great feature for a LiveCD/USB that will be run on different systems.