Re: Setting font in gnome 2



Chris Chabot <chabotc reviewboard com> writes:
> How do i set my default font for gnome 2.0 desktop alpha? Since the
> theme selector widgets crash on startup (bug already submitted ;-) I
> cant realy do it thru that route ;-)
> 
> is there a .gtkrc2 file or something?
> 

Yes, ~/.gtkrc-2.0

style "default"
{
   font_name = "Sans 12"
}

class "*" style "default"

You can't use X font descriptions, you have to use the Pango format, 
e.g. "Times 14" or "Arial 10" or whatever. I know this makes you cry.

Havoc



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