Hello!

Stephan Sokolow has written on Wednesday, 18 July, at 18:40:
>For portability's sake, I write all my apps to bind their own global 
>hotkeys using XGrabKey(). (Which means all my PyGTK apps also depend on 
>python-xlib or XPyB and, on Windows, fall back to not supporting global 
>hotkeys)

    Well, it's low-level grab and may conflict with Gtk+/Qt/etc. event
handlers and also the application should make own event handler to work
with this. So it's not solution for application using some toolkit.

>It would be nice to see a unified keybinding daemon to complement the 
>unified notification daemon but, until there's a 
>freedesktop.org-standard D-Bus API that lets a single hotkey daemon be 
>shared between KDE, GNOME, Xfce, and LXDE apps, I just don't see this 
>idea being anything more than yet another DE-specific process wasting 
>resources.

    I never proposed this to be process. I proposed it to be very small
library which implements access to files, parsing and update, one time
operation. If you change keybinding with some editor it will alert you it
will be applied only on application new start, not on running one. Just
so simple. We also can discuss some method of signaling if we want the
applications refresh own maps in runtime but I highly doubt it should be
done as it will require recreate of many of application's widgets and
that is much resource consuming so better just restart the application.

>...especially given that Openbox can already do global hotkey binding 
>for functions that don't map directly to a KDE, GNOME, or XGrabKey-using 
>application.

    The trick is you cannot map the shortcut into lxde if it's already
mapped by Openbox since Openbox's binding will be activated once you try
to press the combination in the editor. :)

    And, please, don't do topposting! I understand, you like to see own
text but let others see the text you're replying too. Thanks!

    Andriy.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to