RE: How to call a python plugin in UI
ping -- were you able to successfully launch your app? I'd love to see a screenshot of your application running. Bob Ian wrote: Ola, Mobile player is also a python application. Maybe it's not the best way to launch python application, but it can be a reference. 1. create an exe file under /usr/bin -- mobile-player #!/bin/sh Cd /usr/share/mobile-player Python media_gui.py 2. add mobile-player in *.desktop file Exec=mobile-player Type=Application ... 3. add mobile-player in conf.xml app id=6 title=Media Player desc=Mobile media player icon=icons/media.png path=/usr/bin/mobile-player / this is valuable information...thanks []'s ian -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: How to call a python plugin in UI
Ola ping -- were you able to successfully launch your app? I'd love to see a screenshot of your application running. yes, it launched my app inside the browser using the bash script approach Cathy mentioned. It seems unfortunately not very robust at the moment but I am unsure whether this is to do with the calling mechanism itself or the actual geoclue backend. I will test it again soon as both geoclue [1] and pyphantom [2] are under heavy development. The tutorial and a screenshot (albeit a small one) is in the UME Guide [3]. I put it up on my blog too [4] []'s Ian [1] http://www.freedesktop.org/wiki/Software/GeoClue [2] http://pyphantom.garage.maemo.org/ [3] https://help.ubuntu.com/community/UMEGuide [4] http://ianlawrence.info/random-stuff/location-services-on-ubuntu-mobile -- http://ianlawrence.info -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: How to call a python plugin in UI
Ola, Mobile player is also a python application. Maybe it's not the best way to launch python application, but it can be a reference. 1. create an exe file under /usr/bin -- mobile-player #!/bin/sh Cd /usr/share/mobile-player Python media_gui.py 2. add mobile-player in *.desktop file Exec=mobile-player Type=Application ... 3. add mobile-player in conf.xml app id=6 title=Media Player desc=Mobile media player icon=icons/media.png path=/usr/bin/mobile-player / this is valuable information...thanks []'s ian -- http://ianlawrence.info -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
RE: How to call a python plugin in UI
If I understand, you've created a statusbar plugin. The statusbar has a feature that allows it to show a 2nd row of icons if the original area fills up. The conf.xml file shows the icon for the application. This is independent of the statusbar. If you want your statusbar to appear you need to do the following: - place your statusbar plugin library in /usr/share/hildon-desktop - add an entry to /etc/hildon-desktop/statusbar - add a .desktop file in /usr/share/hildon-status-bar (from memory, excuse mistakes). Now, if you are talking about something else altogether I apologize for my misinterpretation. Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Sent: Saturday, July 28, 2007 7:40 AM To: ubuntu-mobile@lists.ubuntu.com Subject: How to call a python plugin in UI Hi, I have my plugin appearing in the UI marquee. My conf.xml looks like (look at the last line): snip apps app id=2 title=XTerm desc=X Terminal Emulator icon=icons/xterm.png path=/usr/bin/uxterm -sl 1000 -fa Monospace -fs 10 / app id=3 title=Mousepad desc=Mousepad icon=icons/mousepad.png path=/usr/bin/mousepad / app id=4 title=Calculator desc=gcalctool icon=icons/calc.png path=/usr/bin/gcalctool / app id=5 title=Browser desc=Mobile Browser icon=icons/browser.png path=/usr/bin/mobile-browser / app id=6 title=Media Player desc=Mobile Media Player icon=icons/media.png path=/usr/bin/mobile-player / app id=7 title=TBD Chat desc=Chat Application icon=icons/empathy.png path=/usr/bin/empathy / app id=8 title=TBD Camera desc=Camera App icon=icons/camera.png path= / app id=9 title=Control Panel desc=Control Panel icon=icons/controlpanel.png path=/usr/bin/controlpanel / app id=10 title=Location Services desc=Geographic Information Framework icon=icons/geoclue.png path=/usr/bin/python /usr/lib/hildon-desktop/geoclue.py / /apps /snip but this does not execute my plugin. What should the command be for a python plugin? As an observation: This marquee is going to become very long if every application added has an icon and it will take a long time to scroll for the user to find what she is looking for []'s Ian -- http://ianlawrence.info -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile