[maemo-developers] [maemo-developers] python question

From: Kasper Souren kasper.souren at gmail.com
Date: Thu Apr 27 00:17:42 EEST 2006
> [Desktop Entry]
> Encoding=UTF-8
> Version=1.0
> Name=Python on the 770
> Comment=Python
> Exec=/usr/lib/python2.4 uitest.py
> Icon=qgn_list_gene_default_app
> Terminal=false
> Type=Application
> X-HildonDesk-ShowInToolbar=true
>
> Not sure of what to put in the Exec part of this file. The file itself (uitest.py) is in
> /home/user/uitest.py I found out my python path using:

You need to put the path to uitest.py in the .desktop file.
Then do chmod +x uitest.py, and make sure the first line of uitest.py is
#!/usr/bin/python2.4

That should work, but don't hesitate to ask more questions :)

More information about the maemo-developers mailing list