Project

General

Profile

GNOME Shortcuts plugin fails with GNOME 3.26.0

Added by Michael Schwendt over 6 years ago

Just a headsup, since it may be only temporary misbehaviour.

In Fedora 27 with GNOME 3.26.0 (either using Xorg or Wayland), the plugin fails to initialize.

** (audacious:2592): WARNING **: Could not grab media player keys: The name org.gnome.SettingsDaemon was not provided by any .service files
WARNING plugin-init.cc:102 [start_plugin]: GNOME Shortcuts failed to start.

Replies (5)

RE: GNOME Shortcuts plugin fails with GNOME 3.26.0 - Added by John Lindgren over 6 years ago

I'm not surprised. The plugin was written for GNOME 2.x. It was only a matter of time before GNOME 3 found a way to break it.

RE: GNOME Shortcuts plugin fails with GNOME 3.26.0 - Added by Jean-Alexandre Anglès d'Auriac about 6 years ago

I wrote a patch to fix the problem, and posted it on Redmine.
You can find it here in case you are interested, Michael:
http://redmine.audacious-media-player.org/issues/765

RE: GNOME Shortcuts plugin fails with GNOME 3.26.0 - Added by Michael Schwendt about 6 years ago

To make it work again, I've had to delete lines 238-242 and 249 in current git gnomeshortcuts.cc code.

With Audacious 3.9, it's actually only a single line change to listen on "org.gnome.SettingsDaemon.MediaKeys" that is enough already.

RE: GNOME Shortcuts plugin fails with GNOME 3.26.0 - Added by Jean-Alexandre Anglès d'Auriac about 6 years ago

We need a fallback to make it listen on "org.gnome.SettingsDaemon" for older system that don't have "org.gnome.SettingsDaemon.MediaKeys" working, though. Maybe we could try switching the check order, i.e. exchanging line 239 and 244 ?

RE: GNOME Shortcuts plugin fails with GNOME 3.26.0 - Added by Michael Schwendt about 6 years ago

Well, that would be plausible. Doesn't the bottom of the function do a similar thing already?

    (1-5/5)