Skip to content

Binding to media keys on GNOME-based systems (Fedora, Ubuntu, etc) is flaky #35

Open
@aknobloch

Description

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:

Media App Not Registered

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:

  1. Install dconf-editor
  2. Open dconf-editor and navigate to org.gnome.settings-daemon.plugins.media-keys.
  3. Remove the previous-static binding by changing the value to nothing (['']).
  4. Repeat the above for pause-static, play-static, stop-static and next-static.
  5. If problems persist, look through the settings in step two and validate nothing is bound to suspicious XF86Audio*keys.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions