Monthly Archives: August 2008

Today’s WTF.

Some NFS “issues” .. /me rants about RHEL 4.. reboot fixed it.

Gentoo: xfce4 fonts not sized correctly

Quick tip:

Problem: When installing Gentoo, Xfce4 on my new amd64 laptop, the fonts were extremely goofy compared to my old installation on x86. Meaning that terminal fonts looked ok, but gtk based fonts were large and small. I couldn’t figure this out and finally found a solution on XUbuntu’s blog post. I will reiterate it here for my future reference and maybe help someone else with this same problem.

Solution: In ~/.config/xfce4, append to the Xft.xrdb file (or create the file):
Xft.dpi: 96.

Then, log out and log back in. The fonts look normal sized again. I’m not sure what Xfce4 defaults to but whatever it was, it was clearly incorrect for my laptop.

Update: nightmorph, a fellow Gentoo developer, explains how to use the Xfce GUI to change the DPI setting as well. Please see the comments of this post.