I currently have the following in the .fvwm2-menu.
# Main menu
AddToMenu "Main" "Main menu" Title
+ "&Xterm" Exec xterm -geometry 170x66+0+0 -bg black -fg lightblue -cr yellow -e /opt/computing/bin/tcsh &
+ "&Applications..."Popup Apps
+ "" Nop
+ "&Modules" Popup Module-Popup
+ "" Nop
+ "Lock Screen" Exec xlock -remote -mode flame
+ "" Nop
+ "&Restart FVWM" Restart
+ "" Nop
+ "&Quit" Quit
The problem I'm having (Or perhaps the request I'm making?) is for some
way of getting Fvwm2 to run a script before actually quitting. The
situation is that I want to update a couple of 'I'm here' status files
before leaving, pretty much like turning on your answering machine
before you go out I 'spose. What I'd ideally like is to be able to write
something like
+ "&Quit" Exec my_shell_script then Quit
but I can't seem to see any way of doing it. Is it possible, and if not
how about sticking it in the next version, maybe with a syntax like
+ "&Quit" command1 ; command2 ; command3
Anyone?
Cheers,
Lee.
--
No matter how hard you try, you can't make a baby in much less than
9 months. Trying to speed this up *might* make it slower, but it won't
make it happen any quicker.
[ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt]
--
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 - 08:30:36 BST