[Debian] Launch openmoko-panel-plugin functions from .desktop files?

2009-03-08 Thread Marcel
Hello,

Since illume doesn't provide a systray (and the screen's too slim for all the 
icons anyway), I'm looking for a way to for example launch the usb-mode- or 
the shutdown/suspend/wifi(on|off)-panel by hand from some .desktop icon 
instead of the (unavailable) systray symbol. I had a look at the code but I 
don't really understand what launches what and when there... As of writing 
this, I remember some of that must be possible through mdbus calls, but does 
frameworkd provide functions for switching usb host/client mode? (Okay, I 
could find that out myself, API docs ftw...)
But the question stays the same: Can I somehow launch these nice panels 
manually?

--
Marcel

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] Launch openmoko-panel-plugin functions from .desktop files?

2009-03-08 Thread Sebastian Ohl
Hi,
On Sun, 2009-03-08 at 15:55 +0100, Marcel wrote:
 Since illume doesn't provide a systray (and the screen's too slim for all the 
 icons anyway), I'm looking for a way to for example launch the usb-mode- or 
 the shutdown/suspend/wifi(on|off)-panel by hand from some .desktop icon 
 instead of the (unavailable) systray symbol. I had a look at the code but I 
 don't really understand what launches what and when there... As of writing 
 this, I remember some of that must be possible through mdbus calls, but does 
 frameworkd provide functions for switching usb host/client mode? (Okay, I 
 could find that out myself, API docs ftw...)
 But the question stays the same: Can I somehow launch these nice panels 
 manually?
i don't know if i am understanding you correctly: you want to start only
a part of opp without haveing a systray application running, right?
first of all you can disable the icons you don't want to have in opp so
there should be no need to strip opp down to what you wanne use. second
the initialization of the icons are mainly done in the StatusIcon object
of the opp code. if you want to add icons to an other environment than
systray, you may want to change this code. we are always happy to
receive patches to enhance opp. but may be the easyest was to achive
your goal is to find/write a systray application for illume.

-- 
Regars
 Sebastian Ohl

 --
 Sebastian Ohl  sebast...@ohl.name
 Kurzekampstr. 14   Tel +49 531 7998221
 D-38104 Braunschweig   Mobil +49 172 1837678


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community