Re: FVWM: Init and RestartFunction are *both* executed on init and restart

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 7 Jan 2002 07:31:09 +0000

On 06 Jan 2002 20:47:53 -0800, Tenebrae wrote:
>
> Now I'm confused...
> I have a similar problem where the Eterm I launch at startup gets
> launched again when I restart. This is undesireable behaviour.
> Is there a different place I'm supposed to put it, or how does that work?
> I have this:
>
> AddToFunc StartFunction
> + I Exec Esetroot -f /usr/share/pixmaps/vpm_wp_01_1024.jpg &
> + I Exec Eterm -g 26x21+0+552 -F 5x7 -O -T XMessages -e tail -f $HOME/.X.err
> + I Module FvwmButtons
> + I Module FvwmTaskBar

Well, if you read the man page (you did, right?), you should find that
StartFunction is executed on both start-up and restart.

> I do not have an InitFunction or RestartFunction section.
> The modules don't seem to be double-started, but the eterm does.
> I don't know about the background, since that's kinda hard to test...
> *sigh*

The modules are part of FVWM and they are killed on quit or restart.
So, if you don't want Eterm to be launched twice, don't request this.

AddToFunc StartFunction
+ I Module FvwmButtons
+ I Module FvwmTaskBar

AddToFunc InitFunction
+ I Exec Esetroot -f /usr/share/pixmaps/vpm_wp_01_1024.jpg
+ I Exec Eterm -g 26x21+0+552 -F 5x7 -O -T XMessages -e tail -f $HOME/.X.err

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 Mon Jan 07 2002 - 01:31:49 GMT

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