On 13 Sep 2003 20:41:57 -0300, romildo_at_uber.com.br wrote:
>
> I am looking for a way of doing arithmetic in the configuration
> file of Fvwm, in order to position windows in the task bar I am
> trying to setup.
>
> Searching old messages, I have found an indication that the
> FvwmPerl module could do what I want. It had been suggested to do
> put the following in the configuration file:
>
> ==========================================================
> AddToFunc StartFunction
> + I Module FvwmPerl
>
> DestroyFunc .
> AddToFunc .
> + I SendToModule FvwmPerl preprocess -c -- $*
> ==========================================================
>
> The . function would preprocess its argument prior
> to delivering it to Fvwm.
>
> When I try the following
>
> . Echo %{ $[vp.width] - 100 }%
>
> in FvwmConsolde, it does work and I get
>
> [FVWM][Echo]: 1300
>
> as the output.
>
> But if I put that command in my configuration file, it
> does not work when I restart Fvwm.
Make sure FvwmPerl is running when you use "." function.
Use ModuleSynchronous, not Module command as suggested in the man page.
Regards,
Mikhael.
--
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 Sat Sep 13 2003 - 19:08:47 BST