Saturday, August 15, 2009

ubuntu 256 bit color urxvt (from internet)

Steps used to recompile urxvt with the 256 bit color patch.
$ apt-get source rxvt-unicode
$ sudo apt-get build-dep rxvt-unicode
$ cd rxvt-unicode*
$ patch -p1 < doc/urxvt-8.2-256color.patch
$ sudo dpkg-buildpackage -us -uc
$ sudo dpkg -i rxvt-unicode_9.05-4_i386.deb
$ echo "rxvt-unicode hold" | sudo dpkg --set-selections
in your .Xdefaults file, type: rxvt.termName=xterm, so that most ssh to other machine will support 256 color.

The last step makes sure apt doesn't reinstall the old package the next time you update.

No comments:

Post a Comment