View Single Post
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#3
Or maybe do something like:
Code:
Exec=killall cutetube && killall openmediaplayer && killall fennec
Though putting it in a separate script and then executing it might be more convenient. And && will only execute the next command if the first command executes correctly, so if 'killall cutetube' errors out, the other ones won't run. So a separate script is better, but this is something you can do if you don't feel like making the separate script.

Don't forget to make the script file executable though (chmod +x [scriptfile]) on the command-line, or some file managers might let you change it without having to go to the command-line, I wouldn't know.
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post: