Comment 38 for bug 421261

On Sat, 8 May 2010, frotz wrote:

> On Thu, 6 May 2010, Thomas Dickey wrote:
>
>>> What's the difference between Debian and Ubuntu to cause Debian's xterm
>>> background to be black? Backgrounds are black on Jaunty, but not Karmic
>>> and not Lucid. A dirty work-around is to use this command "xterm -class
>>> XTerm-color" to spawn an xterm. What can I put in .Xresources to make
>>> an xterm always assume that it should use the XTerm-color class?
>>
>> Debian sets the background color by a modification to
>> /etc/X11/app-defaults/XTerm, combined with
>> the /etc/X11/Xresources/x11-common file. That's been discussed, pointed
>> out where to look
>
> Looking at the links associated with this bug, I don't see anything
> about a resource setting that forces xterm to use XTerm-color as if it
> was specified on the command line.

setting "*customization:color" does this.

That's set in x11-common.

For some systems (without that detail), I do the same thing by putting the
setting in my $HOME/.Xdefaults; however not all sessions startup using
_that_ value. (But for Ubuntu, my understanding is that it should work
using the x11-common value - however other comments let me see that KDE
has added some additional breakage of X-resources which needs to be
explained).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net