View Single Post
Posts: 149 | Thanked: 134 times | Joined on Jul 2007 @ Florida
#22
Thank you very much for this.

dbus-send /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view
^^ This does exactly what I want.

Unfortunately, I was hoping integrating it into systemui.xml would be more obvious.

I tried adding the following (modified from the xterm top example), but it does nothing, so I obviously don't understand how the calls are made:

Code:
 <menuitem priority="800" name="Dashboard">
  <callback service="com.nokia.hildon_desktop.exit_app_view" path="/com/nokia/hildon_desktop/exit_app_view" interface="com.nokia.hildon_desktop.exit_app_view" method="exit_app_view" bus="session" autostart="true">
  </callback>
 </menuitem>
Anyone know how I can integrate that call into systemui.xml (properly, so it actually works)?

I thought about copying the top in xterm example and changing top to the command line from the wiki, but I'd like to understand the correct way to do this (and launching an xterm for this seems like massive overkill).
A pointer to a doc that explains how to navigate the dbus hierarchy would be appreciated.

Edit: Is there a log file I can parse for errors? Nothing shows up in dmesg.

Last edited by glabifrons; 2011-03-15 at 03:23.