Reply
Thread Tools
Posts: 43 | Thanked: 3 times | Joined on Jun 2008
#1
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
 
Posts: 609 | Thanked: 232 times | Joined on Dec 2007 @ the end of my rope
#2
 
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:
Posts: 43 | Thanked: 3 times | Joined on Jun 2008
#4
Originally Posted by maacruz View Post
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

I couldnt locate the file on the desktop.
 
Posts: 43 | Thanked: 3 times | Joined on Jun 2008
#5
never mind, i found out Personal Menu adding command script
So i just click to execute the command.
 

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


 
Forum Jump


All times are GMT. The time now is 20:07.