This patch works as expected:
gnome-settings-daemon:
Installed: 3.32.1-0ubuntu1
Candidate: 3.32.1-0ubuntu1
Version table:
*** 3.32.1-0ubuntu1 100
100 /var/lib/dpkg/status
3.32.0-1ubuntu1 500
500 http://za.archive.ubuntu.com/ubuntu disco/main amd64 Packages
** Tags removed: verification-needed-disco
** Tags added: verification-done-disco
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1832374
Title:
Media keys stop working due to missing service file
Status in GNOME Settings Daemon:
Fix Released
Status in gnome-settings-daemon package in Ubuntu:
Fix Released
Status in gnome-settings-daemon source package in Disco:
Fix Committed
Bug description:
* Impact
Sometime multimedia keys stop working
* Test case
- start playing an audio file in VLC/totem/smplayer
- pause
- open a video in another player
- exit the other player
- try to resume the music play from the first one using the play key
-> it should work
* Regression potential
Make sure that multimedia play/pause keys keep working
----------------------------------
Over the last two releases I've noticed that if you have an audio
player such as Clementine running, pause the audio playback and watch
a video via VLC or SMPlayer and then close the video player and try to
use the media keys again, the following is logged to journald:
gsd-media-keys[2607]: Error calling method
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.mpris.MediaPlayer2.smplayer was not provided by any .service
files.
From what I can see is that a service file is created for the media
keys for SMPlayer, when SMPlayer is closed that service file is
removed and then media keys are still bound to that service.
I get the above output for previous track, stop, play, pause and next
track media keys.
I do get the following output if neither is SMPlayer or Clementine is
running or if Clementine is running and playing audio and SMPlayer is
open, but no video is loaded:
org.gnome.Shell.desktop[2480]: Window manager warning: Overwriting existing
binding of keysym ffb5 with keysym ffb5 (keycode 54).
org.gnome.Shell.desktop[2480]: Window manager warning: Overwriting existing
binding of keysym 31 with keysym 31 (keycode a-e,12,f,10,11) <-- I collapsed
the range into a comma separated list
If you re-open SMPlayer and load a video, the media keys work and the
GDBus error doesn't occur but the above "Overwriting ..." messages
still get logged. Closing SMPlayer again does not restore media keys
so that Clementine can handle them. I had SMPlayer running ~17 hours
ago.
Doing a shell reload doesn't seem to fix this either.
I can't really tell if this is an SMPlay/VLC/Video Player issue or
actually an issue in GSD, so filing here until someone can reassign to
the relevant project.
I hit this a while ago, while trying to get some debugging information
for a Clementine bug: https://github.com/clementine-
player/Clementine/issues/6320
If you need any other information let me know.
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-settings-daemon 3.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-16.17-generic 5.0.8
Uname: Linux 5.0.0-16-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Jun 11 17:36:07 2019
InstallationDate: Installed on 2019-02-01 (129 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
(20181202)
SourcePackage: gnome-settings-daemon
UpgradeStatus: Upgraded to disco on 2019-04-09 (63 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1832374/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp