![]() |
how to make .desktop file/script
I made this .desktop file so I can kill CuteTube, OVP and Firefox because they run background after I close em.
Code:
[Desktop Entry] Code:
Exec=killall cutetube killall openmediaplayer killall fennec Then another thing how to open conversation with desktop shortcut without going to messaging and then pressing conversation from right down corner. Thanks. |
Re: how to make .desktop file
try write script and exec it
for exsample: Code:
#!blah-blah-blah |
Re: how to make .desktop file
Or maybe do something like:
Code:
Exec=killall cutetube && killall openmediaplayer && killall fennec 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. |
Re: how to make .desktop file
freedesktop.org is helpful.
freedesktop.org .desktop file Manual |
Re: how to make .desktop file
Code:
Exec=killall cutetube; killall openmediaplayer; killall fennec |
Re: how to make .desktop file
someone know a one command to close all opened windows like a button on the multitasking screen when you do long press -> close all ?
|
Re: how to make .desktop file
Quote:
If not, there you have a good idea for an app ;) |
Re: how to make .desktop file
Quote:
I think its time to learn to do script files. See you after Google :D ;) |
Re: how to make .desktop file
Mikkosssss,
In your exec field you can have it as Exec=/home/user/kill.sh with kill.sh contents being: Code:
#!/bin/sh |
Re: how to make .desktop file
Not an expert still my two cents
try Exec=killall openmediaplayer cutetube fennec pulseaudio please add pulseaudio only when media player is playing or you want to close it |
All times are GMT. The time now is 12:11. |
vBulletin® Version 3.8.8