On Fri, 11 Apr 2008 13:12:02 -0400 (EDT) Eben King <[EMAIL PROTECTED]> wrote:
> On Fri, 11 Apr 2008, Jesús Guerrero wrote: > > > I am using things like $[vp.width]/10 on my config (to calculeta the > > ButtonSize for one FvwmButtons), all is nice except when I use xinerama, > > because then the total width of the viewport is obtained -logically- > > summing the widths of the two monitors. > > > > Is there any way to get the dimensions of one monitor only? I am looking > > for a portable setup that can work with or without xinerama, and the > > monitors > > might be of equal or different size. That's the main problem :P > > How about if instead of width/10 you use height/7.5? It's a pragmatic > approach... > > -- > -eben [EMAIL PROTECTED] royalty.mine.nu:81 > Your pretended fear lest error might step in is like the man who > would keep all wine out of the country lest men should be drunk. > -- Oliver Cromwell As I said, it must work in many circumstances. The "pragmatic approach" would require the edition of the config file each time I switch monitors or the X layout, which is what I intend to avoid. -- Jesús Guerrero <[EMAIL PROTECTED]>