Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 23:38:42 -0500
From:      Glenn Johnson <glennpj@charter.net>
To:        freebsd-gnome <freebsd-gnome@FreeBSD.ORG>
Subject:   Re: setting resources for gtk2 apps outside of GNOME
Message-ID:  <20020918043842.GA24506@gforce.johnson.home>
In-Reply-To: <20020917235431.GA1434@gforce.johnson.home>
References:  <20020917235431.GA1434@gforce.johnson.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 17, 2002 at 06:54:31PM -0500, Glenn Johnson wrote:

> How can I set gtk2 resources for gtk2 applications when they are run
> outside of a GNOME session?  I like to use XFCE but the gtk2 settings,
> specifically the font, are not set when I am in XFCE as opposed to
> when I am in a gnome session.  I would have expected a gtk2rc file to
> be written but there is none.

I figured it out.  The needed file is '~/.gtkrc-2.0'.  The font
resources are specified differently as well.

For example,

gtk12:
  font    = "-webfonts-verdana-medium-r-normal-*-*-110-*-*-p-*-iso8859-1"

gtk20:
  gtk-font-name  = "Verdana 11"

-- 
Glenn Johnson
glennpj@charter.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020918043842.GA24506>