I have written a short script to delay the screenshot function of mtPaint ...
#!/bin/sh
#
sleep 1
echo -e \\7
sleep 1
echo -e \\7
sleep 1
echo -e \\7
sleep 1
echo -e \\7
sleep 1
echo -e \\7
sleep 1
mtpaint -s
The script works well and beeps cheerfully when I run it in xTerm, in Sakura or from the console. When I run it from the menu, mtPaint starts after the delay but there's no beep. When I set the "Terminal" parameter in the .desktop file to "true" it will beep but this also brings up the terminal, which is not what I want. The same happens when the script is executed like this: Exec=xterm -e screenshot. Does anyone know how I can have the delayed screenshot including the beeps but without a visible terminal?