David S. Goldberg writes:
> That was my first reaction too, but running Exec in the ExitFunction
> may not work as expected since the Exec'd programs are effectively run
> in the background so fvwm may quit before he wants it to. One
> possibility would have the last script run a given X application and
> then in the ExitFunction he could Wait for that application's window
> before finishing.
I've been using this technique for some time:
_______________________________________________________________________________
AddToFunc Terminer
+ I Exec sh -c "rsh tag gnudoit \'\(hf-save-all-and-terminate\)\'; exec xlogo"
+ I Wait xlogo
+ I Quit
AddToMenu Session Session Title
+ &Quit Terminer
_______________________________________________________________________________
I.e. I exec "sh" with a single command line, the last command in which
is "xlogo". Any other X application should work, but something
lightweight seems the best choice here. It's not necessary to have the
final script run the X application itself, you can do that from the
.fvwmrc.
- Håvard Fosseng
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri May 02 1997 - 10:04:27 BST