GTK2 font settings

Havoc Pennington hp at
Fri Mar 28 17:28:00 GMT 2003

On Fri, Mar 28, 2003 at 11:02:39AM +0100, Craig Drummond wrote:
> > On Fri, Mar 28, 2003 at 12:04:57AM +0100, Fredrik Höglund wrote: 
> > > I think it would be better to set the gtk-font-name property in the
> > gtkrc
> > > file in krdb when the color palette is written to it. That also has the
> > > advantage of working regardless of whether gconf is installed or
> > > not.
> > 
> > Agreed that's a better way and in line with how colors are handled
> > now.
> Well yes and no. Using gconftool the font settings are applied to any
> running apps. Using gtkrc the apps have to be restarted. In a way I think both
> gnome and KDE control modules should set the properties of each other - until all
> use the same settings method (XSETTING, or whatever).
> Why does the gnome-settings-daemon insist on owning the desktop?

gnome-settings-daemon is similar to krdb - basically what it does is
propagate gconf settings out to lots of non-gconf stuff. So it sets
some X resources, grabs some X keys, sets XKB properties, sets the
background, all this type of thing.

I don't think it owns the desktop, I think it starts nautilus as a
side effect of calling methods on the nautilus server.  It's possible
a simple change could be made to this code to only kick in if nautilus
is running. Also, for a long time I've been meaning to spec a manager
selection for desktop ownership and get nautilus /kdesktop to honor
it. (Same mechanism used to avoid multiple WMs.)

I don't think it makes sense to run gnome-settings-daemon under KDE
anyway though, it'll tend to cause mass confusion since it'd end up in
a fight with krdb and other KDE bits over who gets to set various


More information about the kde-core-devel mailing list