Change the default GTK2 font?
Edwin Groothuis
edwin at mavetju.org
Sun Sep 30 23:01:52 PDT 2007
On Mon, Oct 01, 2007 at 09:41:49AM +0400, Alexander Zhuravlev wrote:
> On Mon, Oct 01, 2007 at 03:26:30PM +1000, Edwin Groothuis wrote:
> > Hello,
> >
> > With the upgrade to xorg 7.3 suddenly the default font for GTK2x
> > applications has moved from a nice small one to a huge one which
> > gives me about 50% of the text I normally get on my screen.
> >
> > XTerms themselves still have the right size.
> >
> > How and where can I define which font GTK2x applications should use
> > as their default ones?
>
> You can use something like this
>
> % cat ~/.gtkrc-2.0
>
> style "user-font" {
> font_name="Verdana 8"
> }
>
> widget_class "*" style "user-font"
> gtk-font-name="Verdana 8"
I used this one to overcome my initial problems,
> I find /usr/ports/x11/gtkchtheme works well for this.
And this one to setup a nice theme (industrial now)
Thanks for yours helps!
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://www.mavetju.org/weblog/
More information about the freebsd-ports
mailing list