FVWM: FvwmPerl preprocessing

From: <romildo_at_uber.com.br>
Date: Sat, 13 Sep 2003 20:41:57 -0300

Hello.

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.

Any clues?

Romildo
-- 
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:44:22 BST

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