![]() |
2008-11-20
, 20:33
|
Posts: 609 |
Thanked: 232 times |
Joined on Dec 2007
@ the end of my rope
|
#2
|
![]() |
2008-11-20
, 20:36
|
Posts: 1,101 |
Thanked: 1,185 times |
Joined on Aug 2008
@ Spain
|
#3
|
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
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: | ||
![]() |
2008-11-21
, 00:12
|
Posts: 43 |
Thanked: 3 times |
Joined on Jun 2008
|
#4
|
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
![]() |
2008-11-21
, 04:32
|
Posts: 43 |
Thanked: 3 times |
Joined on Jun 2008
|
#5
|
The Following User Says Thank You to therock_80 For This Useful Post: | ||
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