[7121] in testers

home help back first fref pref prev next nref lref last post

Re: gnome-settings-daemon and X resources (linux 9.4)

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jun 14 13:04:04 2005

From: Greg Hudson <ghudson@MIT.EDU>
To: Ken Raeburn <raeburn@mit.edu>
Cc: testers@mit.edu
In-Reply-To: <tx1zmtt3mfd.fsf@mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Tue, 14 Jun 2005 13:03:17 -0400
Message-Id: <1118768597.13999.19.camel@egyptian-gods.mit.edu>
Mime-Version: 1.0

On Mon, 2005-06-13 at 18:46 -0400, Ken Raeburn wrote:
> Is there a way to stop gnome-settings-daemon from loading up a pile of
> widget and application (Editres, Emacs, Xfi) X resources and causing
> emacs to not use the color settings I want?

After some googling and poking at the source code, here is my best
understanding of a minimal workaround:

  * For each *.ad file in /usr/athena/share/control-center-2.0/xrdb
which is not "General.ad", create an empty file in ~/.gnome2/xrdb with
the same name.

  * For some reason, gnome-settings-daemon does not allow General.ad to
be overridden in this way.  General.ad defines only the resources
"*background" and "*foreground"; add your own wildcard background and
foreground resources to ~/.Xresources to override them.
(gnome-settings-daemon reads your ~/.Xresources file after processing
its own resource settings, so the ~/.Xresources file wins when there are
conflicts.)

> ... but is gnome-settings-daemon going to get fired up randomly by
> some Gnome application I might run, and trash my resources then?

No, gnome-settings-daemon is not invoked automatically as far as I know.
So you may be happier with your workaround, as long as you don't expect
GNOME keyboard, font, or sound settings to be in full effect.



home help back first fref pref prev next nref lref last post