-
Notifications
You must be signed in to change notification settings - Fork 23
Gnome shortcuts support #43
Comments
Can you provide me with a documentation or example? |
Of course, you can see the code sample in C: #include <glib.h> static void media_key_pressed(DBusGProxy *proxy, const char *value1, const char *value2, gpointer user_data) { int main (int argc, char **argv)
} To get valid header you must do once: Source example from StackOverflow discussion: http://stackoverflow.com/questions/5744041/cant-get-dbus-signal-listener-to-work-in-c-with-gnome-multimedia-keys |
So you need to listen on dbus? Is there no platform independent solution available? |
Unfortunately no, this solution is for Gnome only. Of course you can use X11 keytest interface for X server implementation, but it doesn't work with Wayland server. UPD: Oh, KDE4 support D-BUS multimedia keys too. |
Please add gnome hotkey support, especially needs for multimedia keys handling, for example from xinput (remote control, LIRC, e.t.c).
The text was updated successfully, but these errors were encountered: