1
Python / Can I Run A Python Script As An Opie Application?
« on: January 11, 2006, 09:32:26 am »
It works.
Thank you for your help.
Volker
Thank you for your help.
Volker
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I don't know exactly for Opie - but the stepe are more or less the same as on a Sharp ROM.
A few steps necessary
1) copy the .py file to /home/QtPalmtop/bin and make it executable
(you did a symlink - probably that might work as well)
2) make a .desktop file under /home/QtPalmtop/apps/<whichever tab you want>
as
[Desktop Entry]
Exec = file.py
Categories=
MimeType = application/python
Icon = <graphics file under /home/qtpalmtop/pics>
Name = <whatever app>
Type = Application
Display
3) edit the /home/QtPalmtop/etc/mime.types file and add a mime type for python
(this may not be necessary if you set the mimetypes in the .desktop file).
4) Restart Qtopia
That should put your application icon on the desktop.
Remember - for desktop apps - all scripts have to be in /home/QtPalmtop/bin
Hope this works...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110320\"][{POST_SNAPBACK}][/a][/div]
look at opie-pyquicklaunchappletThank you, I installed it, but I don't know what to do with it. There appears no icon in the task bar as it should have(?), and I find no description in the net which I can understand. All I find after the installation that it is no program, but a library.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110233\"][{POST_SNAPBACK}][/a][/div]
Did you try running it from the launcher?
Just go to the /home/QtPalmtop/apps/Applications/ directory and create a launch icon. You can use the other files in that directory as a template.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110149\"][{POST_SNAPBACK}][/a][/div]