Open aknobloch opened 4 years ago
Sure, but in my opinion, this is out of scope for this library. However, if a PR integrates nicely with the current API, I might consider adding the feature
Hi, I'm facing to the same problem, but how VLC, also write in QT don't have it and also handle the global shortcut, without windows focus and without QHotkey library ?!
Hi, finally i got it! after following your 5 step, the popup still here when pressing play, stop and so on. solution is to go in gnome setup->keyboard shortcut and use the "cross" to restore default value, aka nothing
Spent the better part of an afternoon debugging this one! Binding to media keys on GNOME-based systems (Fedora, Ubuntu, etc) is flaky - either the bindings will fail completely, or they will seemingly randomly and intermittently stop working, instead greeting the user with this pop-up when pressing the media keys:
The gnome-settings-daemon intercepts X11 media keys and translates them to a MPRIS D-Bus call. We should be able to register and respond to these via the QtDBUS module, and bind as outlined in the MPRIS specification linked above.
In the meantime, effected GNOME users can disable the
gnome-settings-daemon
bindings to X11 media keys as outlined below:dconf-editor
dconf-editor
and navigate toorg.gnome.settings-daemon.plugins.media-keys
.previous-static
binding by changing the value to nothing (['']
).pause-static
,play-static
,stop-static
andnext-static
.XF86Audio*
keys.