Ben Winslow <[EMAIL PROTECTED]> writes: Hi Ben,
> On Wed, 2004-02-25 at 14:06, calmar wrote: >> Anyway, when I want to put about the same into a Menu, it >> obviously does not work at all then. P.e: >> >> DestroyMenu testmenu >> AddToMenu testmenu >> + "screenshot" Exec exec sleep 3 && import -window >> root ~/pics/screenshots/sc-`date +%F-%H-%M-%S`.jpg > ^^^^^^^^^^ > Your doubled exec causes fvwm to pass 'exec sleep 3' to the shell. > 'exec' in a shell replaces the shell task with the new one, so the shell > goes away after running sleep. I see... I thought I always have to use Exec exec, and I have this everywhere too. Obviously fvwm transfers everything after the (first) Exec to the shell. It works now nicely, thanks marco -- calmar (o_ GNU/Linux is GREAT //\ V_/_ http://www.calmar.ws -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]