View Single Post
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#3
Originally Posted by therock_80 View Post
I want to run a Wake On Lan file to wake a computer.
But it bothers me everytime i have to go to XTerminal and type:
"
cd MyDocs
~/MyDocs python wol.py
"

Is there a way or create a file so that i just execute it and run instead of typing in Xterm ?

<<N810
Create a file in /usr/share/applications/hildon named wol.desktop with this content

Code:
Encoding=UTF-8
Name=WOL
GenericName=Wake On Lan
Exec=osso-xterm 'python ~/MyDocs/wol.py'
Icon=terminal
X-Osso-Type=application/x-executable
X-HildonDesk-ShowInToolbar=true
Type=Application
StartupNotify=true
 

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