[openbox] need help setting font sizes

Mikael Magnusson lists at bak.och.fr.am
Sat Nov 1 18:28:16 EDT 2008

On Sat, 1 Nov 2008, Ian Zimmerman wrote:

> Delcides>    Check your DPI by typing into a terminal
> Delcides>             xrdb -query | grep dpi
> Oddly, the output is empty on my box.
> Maybe something like this is more reliable?

Certainly setting the DPI in X is confusing at best, you can set it in X 
directly, via different driver-specific options in /etc/X11/xorg.conf and 
also some general X option. Further, you can specify the DPI for Xft in 
the X Resource database, which is what you checked above. Gnome and KDE 
also have their own settings for this. And there are probably more places 
I don't know about. I don't think fontconfig and freetype have settings 
for it, but who knows? :) It would seem reasonable that you could change 
the DPI via xrandr somehow too.

Mikael Magnusson

More information about the openbox mailing list