Bob Hepple
2012-01-10 14:45:13 UTC
2 questions relating to dpi.
My first problem is that every few minutes _something_ is changing my
144 dpi back to 96 dpi and I can't work out what it is. I'm not
running any gnome or kde applications (eg gnome-settings-daemon) just
fluxbox, fbpager, emacs, mrxvt, firefox, gkrellm, bluetooth-applet and
NetworkManager. I start fluxbox with XDM and it starts up the X server
with '-dpi 144'. I've been eliminating the running apps one by one but
I can't seem to find the culprit. Any ideas?
2/ It seems that fluxbox understands font sizes as _pixels_ not points
which is darned useless. A sans-8 font on a 96 dpi display is fine,
but on a 144 dpi display it's tiny. Is there any way to specify font
sizes in points? I don't want to have to customizes style for every
different display I use!!! A second best would be for style files to
have conditionals in them: eg. (borrowing from bash syntax, but
anything else would do as well):
if [ $DPI -gt 100 ]; then
window.font: sans-10
else
window.font: sans-8
fi
My first problem is that every few minutes _something_ is changing my
144 dpi back to 96 dpi and I can't work out what it is. I'm not
running any gnome or kde applications (eg gnome-settings-daemon) just
fluxbox, fbpager, emacs, mrxvt, firefox, gkrellm, bluetooth-applet and
NetworkManager. I start fluxbox with XDM and it starts up the X server
with '-dpi 144'. I've been eliminating the running apps one by one but
I can't seem to find the culprit. Any ideas?
2/ It seems that fluxbox understands font sizes as _pixels_ not points
which is darned useless. A sans-8 font on a 96 dpi display is fine,
but on a 144 dpi display it's tiny. Is there any way to specify font
sizes in points? I don't want to have to customizes style for every
different display I use!!! A second best would be for style files to
have conditionals in them: eg. (borrowing from bash syntax, but
anything else would do as well):
if [ $DPI -gt 100 ]; then
window.font: sans-10
else
window.font: sans-8
fi