Thursday, July 15, 2004

Fluxbox GTK apps and large fonts

Recently installed Gentoo. I'm loving it. Had a problem, though, with
fonts in Fluxbox and GTK apps. Firefox's application fonts (not
rendered HTML) were distastefully large, Eclipse too.

It took me quite some time to track down the real problem. The fix was
a combination of switching the GTK theme to use a specific font
(emerge gtk-theme-switch; /usr/bin/switch2 ) and starting X with the
dpi flag: startx -- -dpi 96. Ended up with this in my .bashrc: alias
startx='startx -- -dpi 96' and now everything looks acceptable.

No comments: