Thursday, January 19, 2012

XTerm CLI colour change

So today I was running a relatively fresh install of Slackware in using virtualbox on Linux Mint and I wanted to change the background colour of my xterm from white to black, making it easier on the eyes to read. So I Googled configure xterm background colour. One of the first links was this site. Here was the solution:

For all [xa]term, put something like the following in your
~/.Xdefaults or ~/.Xresources:

! Defaults for all xterm clients
XTerm*background: yellow
XTerm*foreground: darkblue
XTerm*highlightColor: red

Then run

xrdb ~/.Xresources

"man xrdb" and "man X" and search for "Resources" for more
information.

No comments: