[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gtk patch version 2, part 1

From: Eric Gillespie
Subject: Re: Gtk patch version 2, part 1
Date: Tue, 17 Dec 2002 04:29:45 -0500
User-agent: nmh/1.0.4+dev (i386-unknown-netbsdelf1.6)

Miles Bader <address@hidden> writes:

> Oddly enough, I have _none_ of those files, and yet surely the info is
> stored somewhere, because I'm using a non-standard theme, which works
> fine!  I set the theme via the `control panel' stuff, so I'm not sure
> how it's done.

That is as expected.  The GNOME 1.x control center had a hack
where it managed ~/.gtkrc but included ~/.gtkrc.mine and had a
comment in .gtkrc explaining that this file is generated, go
edit that one.

The problem is that your theme is one of the settings that should
be per display, not per host.  That is, when running gedit on
host1 displaying on host2, the theme should not come from the
.gtkrc on host1 but from what was configured on host2's display.
The mechanism KDE and GTK use for this is called XSettings
(http://www.freedesktop.org/standards/xsettings.html).  So the
theme is stored in GNOME's gconf settings, and when it starts it
sets the theme XSetting and all GTK apps pick that up.

We're drifting frightfully off-topic at this point...

Eric Gillespie <*> address@hidden

Build a fire for a man, and he'll be warm for a day.  Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett

reply via email to

[Prev in Thread] Current Thread [Next in Thread]