On 02/07/10 13:18, [email protected] wrote: > Hi > I use fvwm 2.5.26 and > I try to put fvwmbuttons in the bottom and in the middle of my screen > in a calculated way. > I tried this: > PipeRead "echo *FvwmButtons: Geometry +$$(($[vp.width]/2-$[w.width]/2)) > +$$(($[vp.height]-$[w.height]))" > > and this (as explained in the FAQ (7.14)): > DestroyFunc PlaceWindow > AddToFunc PlaceWindow > + I ThisWindow Piperead "echo Move +$(( $[vp.width]/2-$[w.width]/2 ))p > +$(( $[vp.height]/2-$[w.height] ))p" > > DestroyFunc StartFunction > AddToFunc StartFunction > + I Module FvwmButtons > + I Next (FvwmButtons) PlaceWindow > > but none ot these methods worked > Could you tell me how to do this please? > Thanks > Phil. > > ____________________________________________________ > > Nul en foot ? Toutes les informations pour impressionner votre entourage > sont sur http://actu.voila.fr/evenementiel/Mondial-2010/ > If it helps, I've got this snippit working in my FVWM config:
+ I PipeRead "echo exec xeyes -geometry 200x100+`expr $[vp.width] / 2 - 100`+0 -outline $[fg.cs5]" I think you need the "expr" command in there to actually evaluate the expression, with the ` character around it all. Jake Moe
