I forget to tell I am running Fvwm 2.5.7 on Gentoo Linux.
On Sat, Sep 13, 2003 at 08:41:57PM -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.
--
Prof. José Romildo Malaquias romildo_at_uber.com.br
Departamento de Computação malaquias_at_iceb.ufop.br
Univ. Federal de Ouro Preto http://uber.com.br/romildo
--
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 - 18:59:46 BST