Desktop file for my Python script

Posted by Jason94 on Super User See other posts from Super User or by Jason94
Published on 2011-01-11T14:36:18Z Indexed on 2011/01/11 15:56 UTC
Read the original article Hit count: 208

Filed under:
|

I would like to make a .desktop file for my Python script, but so far the only thing i have is a clickable icon on my desktop! It does nothing when I click it, so im guessing there is something wrong with the execution :)

The desktop file:

[Desktop Entry]
Version=1.0
Type=Python
Exec=/home/user/MyDocs/Python/EasySteer/Main.py
Name=EasySteer
Icon=steering_wheel
X-Icon-Path=/usr/share/icons

and I also tried:

[Desktop Entry]
Version=1.0
Type=Application
Exec=/usr/bin/xterm "python /home/user/MyDocs/Python/EasySteer/Main.py"
Name=EasySteer
Icon=steering_wheel
X-Icon-Path=/usr/share/icons

But nothing works :D if it matters this is for my Nokia N900 mobile phone that runs Maemo linux, but I think the basics are the same.

© Super User or respective owner

Related posts about linux

Related posts about python