View Single Post
Posts: 38 | Thanked: 16 times | Joined on Dec 2009
#33
Yeah it does seem to work, great. Used time.sleep() to wait a while before sending the signal to close newest window (I'm guessing this is the best way to do it?), other than that it's just a couple of dbus-signals.. easy enough. Here's my script in keyboard-shortcut:

Code:
import time


if key == 'y':
     os.system("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view
")

     time.sleep(0.5)

     os.system("/usr/bin/dbus-hildon-desktop close_window_time -1")
Also I updated to 1.15 of modified-hildon-desktop today, task switcher seems to be a lot snappier than earlier.. could of course be because of the reboot I did after installing it, but either way I'm not complaining. I don't think I could use the device without modified-hildon-desktop and keyboard-shortcuts anymore, thanks a lot!

Last edited by low life; 2010-03-31 at 15:43.