[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdebase/kcontrol/krdb
From: Karol Szwed <kszwed () kde ! org>
Date: 2003-01-30 13:08:13
[Download RAW message or body]
On 2003-01-29 11:43:06, Lubos Lunak wrote:
> I don't understand this resources stuff, but since the other file is called
>.Xdefaults, shouldn't it be read as the very first one? Or maybe even not to
>read at all, since it will(?) be already there? And BTW there's a similar
>code in kdebase/kcontrol/colors/colorscm.cpp.
quote from http://tam.cornell.edu/Computer/tips.html:
"Use of old-style .Xdefaults files is discouraged. The newer .Xresources file
provides the same functionality but works better. See man xrdb for more
information. The .Xresources file has the same format as a .Xdefaults file."
On some systems, (eg SuSE I think), ~/.Xdefaults is symlinked to ~/.Xresources
as ~/.Xdefaults is pretty much deprecated now. On my system, I don't even
have ~/.Xdefaults, only ~/.Xresources for this reason. The code simply merges
in the "new-style" ~/.Xresources if it exists, or falls back to merging in
the "old-style" ~/.Xdefaults.
Lubos, why did you add the xrdb call there in colorscm.cpp, instead of hiding
that nastyness in krdb?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic