![]() |
Start a Shellscript from the desktop?
How can I start a Shell-Script from the Desktop?
I have copied a .desktop file in /usr/share/applications/hildon/ and Changed the Exec line to Exec=/bin/sh "/home/user/myscript.sh" /home/user/myscript.sh exists and is executable, and works like expected when started from a shell. But clicking on the Starter does nothing. |
Re: Start a Shellscript from the desktop?
Should be /bin/sh. And should probably run with just /home/user/myscript.sh if it is executable.
|
Re: Start a Shellscript from the desktop?
Close...
Exec=/usr/bin/osso-xterm '/path/script.sh' |
Re: Start a Shellscript from the desktop?
Quote:
my script myscript does nothing but running syncevolution. #!/bin/sh /usr/bin/syncevolution funambol the Starter: [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=syncfunambol Icon=vim Exec=/bin/sh "/home/user/myscript.sh" Type=Application |
Re: Start a Shellscript from the desktop?
Quote:
Thanks. Thats it. |
All times are GMT. The time now is 11:58. |
vBulletin® Version 3.8.8