View Single Post
  #9 (permalink)  
Old 28-Jun-2009, 12:44
hcvv's Avatar
hcvv hcvv is online now
Wise Penguin
 
Join Date: Jun 2008
Location: Netherlands
Posts: 1,913
hcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enough
Default Re: How do you create an executable script to run from an ic

I never would think that you had not tested your scripts first, before trying to make it into a clickable thing. Test it from a console/terminal first!

So first make your script working.

BTW it should run as root, so just starting it from a user GUI won't work either. Your command inside the icon should be something like
Code:
su /path/to/the/script
and you must be prepared to enter the root passwd, so I think it must be executed in a console/terminal to give you that change. Or use kdesu.
__________________
Henk van Velden
Reply With Quote