Re: FVWM: FvwmPager position/geometry question

From: Johan Svedberg <winkle_at_acc.umu.se>
Date: Wed, 25 Dec 2002 16:45:20 +0100

* 021225 16:37 Mikhael Goikhman <migo_at_homemail.com>:
> FvwmPager can't have just any arbitrary width or height.
> In your case the width will always be 9 + 10 * N, for example 79 pixels,
> because there are 9 separators.
>
> Keeping this in mind, add this line to your config:
>
> *FvwmPager: DesktopScale 10
>
> This makes a pager to be 9 pixels (or less) wider than needed. Not good.
> I may suggest this instead:
>
> *FvwmPager: Geometry $[vp.width]x99
>
> And of course:
>
> DesktopSize 10x1
> Style FvwmPager NoHandles, BorderWidth 0 # or non zero to fill the gap
>
> If you need to do some calculations, I would suggest to use FvwmPerl for
> this in 2.5.x, or do something like this (3 is for BorderWidth 3):
>
> PipeRead 'echo *FvwmPager: Geometry `expr $[vp.width] - 3 * 2`x99'
>
> You may need to escape some chars in some cases, like `\\( 3 \\* 2 \\)`.

Thanks Mikhael!

--
Johan Svedberg, winkle_at_acc.umu.se, http://www.acc.umu.se/~winkle
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Dec 25 2002 - 09:47:00 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST