Re: Modifying gtk2 fonts <SOLVED>
On Sat, 5 Jul 2014 15:04:15 +0200
Siard <firstname.lastname@example.org> wrote:
> Steve Litt:
> > Siard:
> > > But editing ~/.gtkrc-2.0 is indeed the easiest and most
> > > hassle-free way when not using Gnome.
> > >
> > > To set the default gtk2-font, add something like this:
> > >
> > > gtk-font-name = "Liberation Sans 11"
> > The preceding doesn't work on my machine. I tried.
> To use the font mentioned here, the package fonts-liberation has to be
> installed. Liberation Sans is my favorite font for display on screen.
> Otherwise, I don't know why it doesn't work on your machine. For me,
> it has worked as long as GTK2 exists.
No, that's not it, I was using Sans 17 or something like that. A font I
> Could you show how lxappearance has written the font and font size
> into your ~/.gtkrc-2.0 ?
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
The preceding works perfectly. Sad thing is, I'm almost positive I did
the "gtk-font-name="Sans 17"" thing manually earlier, and it didn't
affect Thunar or xchat.
Steve Litt * http://www.troubleshooters.com/
Troubleshooting Training * Human Performance