Re: How to change window menu font in gnome2?
Hi Wei,
Various properties of Gtk2 can be set from your ~/.gtkrc-2 file. Here
are some of them:
http://developer.gnome.org/doc/API/2.0/gtk/GtkSettings.html
For example, to make Emacs key bindings the default:
gtk-key-theme-name = "Emacs"
Or to make ^H mean backspace:
binding "my-text-entry" {
bind "<ctrl>h" { "delete-from-cursor" (chars, -1) }
}
class "GtkEntry" binding "my-text-entry"
class "GtkTextView" binding "my-text-entry"
There is also this property listed in the URL cited above:
"gtk-font-name" (gchararray : Read / Write)
Name of default font to use.
Right before the before-mentioned URL is:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html
Which goes into some detail about this.
hth some!
Elizabeth
Wei writes:
> Hi,
>
> I just installed gnome2.2 and the menu of all windows(font of file,
> edit, view etc.) all look rediculously huge. I ran
> gnome-font-properties that provides controls over 4 classes of fonts:
> Application font Desktop Font Window title font Terminal font
>
> The "window title font" is grey and either of other 3 doesn't affect
> the font of the menu font. Could any one give me a hint about this? Is
> "window title font" the one that controls the font of window menu and
> buttons? If so, how do I make it usable (not gray).
>
> Maybe this is not the right place to post this, but any little tip
> would be highly appreciated.
Reply to: