![]() |
Re: N900 keyboard friendly, second thread.
So, I've another question: Is it possible to have a keyboard shortcut to close the current active window the same way it'd be closed when clicking the 'x' in the task switcher? What happens after this I don't really care about, being left in the task switcher would be ok.
Would launching task switcher and then sending the signal to close newest window do the trick? I'll have a go at this later tonight myself if no one can answer and report my progress. |
Re: N900 keyboard friendly, second thread.
"Launching task switcher and then sending the signal to close newest window" does appear to work.
It should be easy to implement a keyboard shortcut for this using keyboard-shortcuts package. Note also that a few programs still have the old behaviour of closing on long press of Escape key. You just need to remap the hardware keyboard to have such a key. |
Re: N900 keyboard friendly, second thread.
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 |
Re: N900 keyboard friendly, second thread.
The package http://my.arava.co.il/~matan/770/n90...+0m5_armel.deb adds a dbus signal for opening status menu. To use:
Code:
bus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.open_status_menu |
Re: N900 keyboard friendly, second thread.
Matan Hello, I greatly admired your work.
I have tried in various ways, but I can not run shortcuts such as ctrl + shift + f for FBReader, and even hot keys k, or l, h I installed your Hildon that works well, and keyboard-shortcut. This is the result of the command gconftool-2 -R /apps/osso/hildon-desktop/key-actions dbus_shortcuts_use_fn = true launcher_navigator_accel = true home_contacts_phone = false dbus_launcher_navigator = true dbus_shift_ctrl = true preset_shift_ctrl = true disable_edit = false ctrl_backspace = true ctrl_backspace_in_tasknav = 5 dbus_ctrl_shortcuts = true I hope to use your great work, thanks |
All times are GMT. The time now is 21:03. |
vBulletin® Version 3.8.8