Custom XTerm Colors

""

How would you like to be able to change the colors of your XTerm client? I learned how to years ago and rediscovered the notes on my computer. It wasn’t easy to learn how to do it, so I thought it would be useful to post the directions. You may have to experiment a little or read the man page on XTerm. However, if all you want is an XTerm with a black background and white foreground just follow these directions.

Changing XTerm Colors:

  1. Bring up a terminal and sign in as root ( Ubuntu users can do this with sudo bash )
  2. Go to /etc/X11/app-defaults
  3. Bring up the file XTerm in a text editor
  4. Copy this to the bottom of the file & save the file:
! Change the background and foreground colors to black and white
xterm*background: Black
xterm*foreground:       White
xterm.eightBitInput: true
! xterm*font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1
xterm*SaveLines: 2000
! xterm*VisualBell: true
xterm*appcursorDefault: true
*XTerm*saveLines: 1000

Similar Posts:

    None Found

2 thoughts on “Custom XTerm Colors”

  1. The default Raspberry Pi .bashrc adds colors for various things in your command line user interface. It’s one of the things i turn off when i bother to customize it. It wasn’t until the 1990s that i learned that Star Trek was always in color. I’m color blind, but i don’t remember it. And the Windows (saw it first in DOS) dark blue on black is one of the hardest to read colors ever invented. I have an easier time with bright pink on florescent green. I prefer white text on black, if i can get it. On a phone, i turn down the brightness and read in the dark.

    I work with someone who is actually color blind. Yes, he’s the go-to guy for reports. Managers all over the company ask him for stuff. I’ve made a few suggestions over his shoulder before he sent something out, but usually it’s OK. These days, it’s work from home, so no over the shoulder stuff. We all have 2020 vision this year, even those who are color blind.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.