X(f)term colors

  • June 18, 2004
  • Danny


people are asking how to change xfterm color,
and I noticed that its not documented anywhere here.

xfterm4 is a wrapper that calls the terminal defined in the TERMCMD environment variable or else xterm.

So, to do that, you define so called X resources for xterm.
The program “xrdb” aids you with that, either directly by calling it and typing, or you put it into a file in your home directory, called .Xresources
Your xinit scripts will usually call xrdb for you.

An example Xresources file is at http://www.gonetoo.de/dannym/Xresources

X resources apply only to newly opened programs, so reopen your Xterm

Hope that helps someone :)