Re: dpi still driving me nuts

Raphaël <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <20120111164428.GC10393@drzraf>
On Wed, Jan 11, 2012 at 12:45:13AM +1000, Bob Hepple wrote:
> 2 questions relating to dpi.
> 
> 2/[...]
> 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

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
syntax.


Raph

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.