From: Bob Hepple <bob.hepple@gm...> - 2012-01-10 14:45:25
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
On Wed, Jan 11, 2012 at 12:45:13AM +1000, Bob Hepple wrote:
> 2 questions relating to dpi.
> 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
> window.font: sans-8
The current fluxbox config files syntax is borrowed from X (.Xdefaults)
which supports preprocessor directives like #include and #ifdef.
Eg: xrdb -DEEEPC=TRUE
But AFAICT, these two directives aren't part of the fluxbox config file
Get latest updates about Open Source Projects, Conferences and News.