Thanks for your comments Rodrigo!

No, my description in the wiki page (https://help.ubuntu.com/community/UMEGuide/ApplicationDevelopment/AnatomyOfUMEPythonApplication) of where to put an application's files does not represent a new standard/requirement for UME. The wiki page describes the way I got it to work. When you do it this way, the app displays in the UME Applications > Extras menu. (It would be great if a UME person could also take a look at the wiki page and comment on my approach.)

One slight correction to what your email said:
"
in your tutorial you install everything into /usr/share/<app name>, so
is this a new standard for ume and one we should adapt to?
"
Actually, the wiki says to put the python file there but to put the .desktop file in /usr/share/applications, which I found (by trial and error) works as described above.

The link you gave (http://maemo.org/community/wiki/HildonDesktopPluginHowto) is good stuff, and obviously getting a Python IDE going is great! However, I'm not sure whether it applies directly to what I want to accomplish.

--I'd  like to write a home plugin in Python that displays by default in the home area at startup.
--I'd like to know exactly what the .desktop file should look like (the example in the link you provided shows a desktop file for a C plugin)
--And, I'd like to know exactly where the files should go (the python file and the .desktop file) in UME
--Mostly, I want to be able to explain precisely what a developer needs to know to get this done, so any help with these details will be greatly appreciated!

I've tried putting the python file in /usr/lib/hildon-desktop and putting the .desktop file in /usr/share/applications/hildon-home, but that doesn't seem to work. Perhaps my .desktop file is wrong. I've tried using Type=default, Type=python and various permutations of X-Path and Exec (with a shell command to call python and pas it the.py file) to no avail.

Cheers,
Kyle




Rodrigo Belem wrote:
On 9/4/07, Kyle Nitzsche <[EMAIL PROTECTED]> wrote:
  
Hi,

Can one write a home plugin with python yet?

(I'd like to experiment with replacing the mobile-basic-flash plugin.)

If so, any tips on where to put the required files?

    

The following link describes where put the files
http://maemo.org/community/wiki/HildonDesktopPluginHowto

You can get the python-hildondesktop package and the pyphantom python
plugin IDE at http://pyphantom.garage.maemo.org/
currently this is just a plugin ide, but we would like to be used as
an IDE for python application development.

I have some questions about
https://help.ubuntu.com/community/UMEGuide/ApplicationDevelopment/AnatomyOfUMEPythonApplication

in pyphantom we install into different locations, for example we
install python files into
/usr/lib/hildon-desktop/ and .desktop files into
/usr/share/applications/<plugin-type>

in your tutorial you install everything into /usr/share/<app name>, so
is this a new standard for ume and one we should adapt to?

  
-- 
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to