Hello, On Thu, 05 Apr 2012, David C. Rankin wrote:
My xterm background in kde3 has always been a pleasing dark color from my background color setting in either kde3 or gnome. For some reason, after updates this past week, my xterm background had changed to white? I didn't do anything to the box or reset anything, so where do I look to set the xterm color back to dark? Which setting controls this? Thanks.
The X Ressource Database possibly overridden via commandline. So, let's look what's set: $ xrdb -query | grep -i xterm.*background XTerm*background: black xterm*background: black (can't remember which one's the correct one). Now, where can this come from? In order, with later files overriding earlier: /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color /etc/X11/Xresources ~/.Xresources ~/.Xdefaults How it's set? The app-defaults file is read by the app automatically (AFAIR). The rest is read by from the xinitrc (now split off into /etc/X11/xinit/xinitrc.common): ==== xdefaults=$HOME/.Xdefaults xresources=$HOME/.Xresources [..] if test -r "$xdefaults" ; then if test -r $XETCDIR/Xresources ; then xrdb -nocpp -load -retain $XETCDIR/Xresources xrdb -I$HOME -merge "$xdefaults" else xrdb -I$HOME -load -retain "$xdefaults" fi if test -r "$xresources" ; then xrdb -I$HOME -merge "$xresources" fi elif test -r "$xresources" ; then if test -r $XETCDIR/Xresources ; then xrdb -nocpp -load -retain $XETCDIR/Xresources xrdb -I$HOME -merge "$xresources" else xrdb -I$HOME -load -retain "$xresources" fi elif test -r $XETCDIR/Xresources ; then xrdb -nocpp -load -retain $XETCDIR/Xresources fi ==== IOW: first, if it exists, /etc/X11/Xresources is read, then if an ~/.Xdefaults exists, that is merged into the xrdb, and if an ~/.Xresources exists that is also merged into the xrdb (I wonder if one could not just -merge all files). HTH, -dnh -- "I can't go on meeting you like this" -- a TeX message -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org