Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on Dec 2010
#1
Im trying to make a nice desktop icon for my little python script.

Ive created the .desktop file and its added to my desktop. It also has the correct icon, but everytime i click it, nothing happens. could someone please help me?

I'll post the .desktop file:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=true
Name=EasySteer
Exec=/usr/bin/xterm "python /home/user/MyDocs/Python/EasySteer/Main.py"
X-Osso-Type=application/x-executable
Icon=steering_wheel
X-Icon-Path=/usr/share/icons

The script is located at /home/user/MyDocs/Python/EasySteer/Main.py
 
Posts: 67 | Thanked: 126 times | Joined on Jun 2010 @ Germany
#2
If this is still an issue, I think you don't need the /usr/bin/xterm in the Exec option. So:

Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=true
Name=EasySteer
Exec=python /home/user/MyDocs/Python/EasySteer/Main.py
X-Osso-Type=application/x-executable
Icon=steering_wheel
X-Icon-Path=/usr/share/icons
This should eventually work...
__________________
  • If you have issues with the Maemo port of VCMI (Heroes 3), please report here.
  • If you have crashes, make sure to get an error log by running vcmi through xterm. (Type "vcmiclient" in the X Terminal application)
  • Some installation instructions can be found here.
  • For questions regarding VCMI features, a timeline, new releases and the like, please visit the VCMI board and their Wiki.
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:27.