Re: Modifying gtk2 fonts <SOLVED>
On Fri 04 Jul 2014 at 21:05:10 +0200, Siard wrote:
> Steve Litt wrote:
> > lxappearance does its magic by writing the *correct* stuff to
> > ~/.gtkrc-2.0.
> The traditional way to set gtk2 fonts used to be: either from within
> Gnome or by running gnome-settings-daemon.
> But editing ~/.gtkrc-2.0 is indeed the easiest and most hassle-free way
> when not using Gnome.
The OP didn't edit ~/.gtkrc-2.0; lxappearance did. But you are correct,
it is the easiest way.
> To set the default gtk2-font, add something like this:
> gtk-font-name = "Liberation Sans 11"
> I also find this one useful:
> gtk-can-change-accels = 1
> It allows you to create a keyboard shortcut by hovering the mouse
> pointer over a menu item and pressing the desired key or key
> combination. It works for GTK2 applications, such as the Claws Mail
> that you're using.
> These are two more examples I saw somewhere, though I did not try them
> gtk-theme-name = "AIR"
> gtk-icon-theme-name = "Tango"
A search with "gtk settings" presents you immediately with the primary
Even "~/.gtkrc-2.0 font" leads you there after a click or two.
What is written by lxappearance is unknown; it's probably similar to the
examples give above.