View Single Post
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#26
Instead of using (path to my script) create a .desktop file to call your script and place it under /usr/share/applications/hildon

Something like this:

Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=true
Name=Soft Restart
Exec=path_to_myscript
Icon=softrestart
X-HildonDesk-ShowInToolbar=false
X-Osso-Type=application/x-executable
Then call the .desktop from the .xml just by introducing its name (without the .desktop extension)
 

The Following User Says Thank You to ivgalvez For This Useful Post: