Comment 41 for bug 421261

Revision history for this message
Nigel Tamplin (fuse-f2s) wrote :

On my system, Debian squeeze, the resource files for xterm are:

/etc/X11/app-defaults/XTerm
/etc/X11/app-defaults/XTerm-color

xterm loads its resources from /etc/X11/app-defaults/XTerm, but if you add the line

XTerm*customization: -color

To your ~/.Xdefaults file, then xterm loads will load its resources from file /etc/X11/app-defaults/XTerm-color instead.

/etc/X11/app-defaults/XTerm-color includes everything from /etc/X11/app-defaults/XTerm plus sets the colors to give you white text on black background (or whatever is defined in XTerm-color)

You can even put:
*customization: -color
in your ~/.Xdefaults and then all apps, not just xterm, will use the ???-color resource files.