On 04/07/2012 11:42 AM, David Haller wrote:
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:
Hmm, don't recall ever messing with it, but after updates and reset to the dark background I have: 18:26 alchemy:~> xrdb -query | grep -i xterm.*background xterm*background: #090d14 xterm.SimpleMenu*background: #18191d
/usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color
*SimpleMenu*background: AntiqueWhite *Form.menubar.background: AntiqueWhite *Form.menubar*background: AntiqueWhite *Form.background: AntiqueWhite *form.background: AntiqueWhite This explains the AntiqueWhite
/etc/X11/Xresources
*Form.background: grey67 *TransientShell*Dialog.background: grey67 *Command.background: grey77 *MenuButton.background: grey77 *SimpleMenu*background: grey77 *Scrollbar*background: grey77 None apply? It's not grey67 or 77
~/.Xresources ~/.Xdefaults
None of those files...
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):
Hah! Found it: 21:11 alchemy:~/.kde/share> grep -r 090d14 * apps/kthememanager/themes/dcrBlueSlate/dcrBlueSlate.xml: <windowBackground rgb="#090d14" object="global" /> apps/kthememanager/themes/dcrBlueSlate-II/dcrBlueSlate-II.xml: <windowBackground rgb="#090d14" object="global" /> apps/kthememanager/themes/original/original.xml: <windowBackground rgb="#090d14" object="global" /> It is set though the kthememanager. What that doesn't explain is why it just suddenly reverted to white. Only thing I can think of is that ksycoca got corrupted somehow and then was rebuilt on kde restart. Thanks dnh for providing the trial to follow. Good to know where it is set now. Give #090d14 a try for background -- it's not bad on the eye. Or #06090E (little darker), just adds a little "blue-on-black" :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org