I often like a dark colored background on my terminals but the default Linux colors use dark blue for folders and comments on a black background which can be difficult to read and a strain on your eyes. The Desert xterm article over at Gabriel’s Musings shows how to setup .Xdefaults to change the look of xterm to use one of my favorite GVIM color schemes: desert. I’ve also discovered that if you’re having trouble with .Xdefaults or .Xresources you can put the style code into a file named XTerm in your home directory. The colors I’ve used below came mostly from an official html screenshot of the desert GVIM color scheme.
*VT100*foreground: #ffffff *VT100**background: #333333 *VT100*color0: black *VT100*color1: #ffa0a0 *VT100*color2: #bdb76b *VT100*color3: #f0e68c *VT100*color4: #87ceeb *VT100*color5: #cd5c5c *VT100*color6: #98fb98 *VT100*color7: #ffffff *VT100*color8: gray60 *VT100*color9: #ffa0a0 *VT100*color10: #bdb76b *VT100*color11: #f0e68c *VT100*color12: #87ceeb *VT100*color13: #cd5c5c *VT100*color14: #98fb98 *VT100*color15: #ffffff
Here is the end result:






[...] Here is a good XTerm color scheme to match gVim’s desert one. I hope it will help lessen the strain on my eyes in case of xterm/vim editing. Part of my current .Xdefaults: [...]
Thank you. Very useful stuff!