Thread
:
How can i run a script in xterm started by a desktop-app?
View Single Post
misiak
2010-03-07 , 14:11
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#
2
i guess you should type:
Exec=/usr/bin/osso-xterm sh /home/user/MyDocs/Scripts/gainroot.sh
or maybe just
Exec=/home/user/MyDocs/Scripts/gainroot.sh
will be just fine... anyway, MyDocs folder is in /home/user, not in root directory of your phone
does it work when you type "sh /home/user/MyDocs/Scripts/gainroot.sh" in XTerminal?
EDIT: and in your script, the first line should be "#!/bin/sh" (you forgot the "/" after "!"
Quote & Reply
|
misiak
View Public Profile
Send a private message to misiak
Find all posts by misiak