Bug#1071717: gnome-settings-daemon: gsd-media-keys fires D-Bus MPris PlayPause message randomly
Andres Gomez Garcia
tanty at andresgomez.org
Fri May 24 08:08:28 BST 2024
Package: gnome-settings-daemon
Version: 43.0-4
Severity: important
Dear Maintainer,
I've some keyboard key combination mapped for doing the PlayPause
action.
Rarely, when I'm using the headphones for other use than music, for
example, attending a confcall, the music playback is activated
randomly.
After inspection with dbus-monitor, I see this message causing the
problem:
$ dbus-monitor 'interface=org.mpris.MediaPlayer2.Player'
signal time=1716534223.839734 sender=org.freedesktop.DBus -> destination=:1.6533 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.6533"
signal time=1716534223.839830 sender=org.freedesktop.DBus -> destination=:1.6533 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.6533"
method call time=1716534225.234537 sender=:1.78 -> destination=:1.621 serial=2411 path=/org/mpris/MediaPlayer2; interface=org.mpris.MediaPlayer2.Player; member=PlayPause
The sender is gsd-media-keys:
$ busctl --user | grep 1.78
:1.78 3492 gsd-media-keys tanty :1.78 user at 1000.service - -
org.gnome.SettingsDaemon.MediaKeys 3492 gsd-media-keys tanty :1.78 user at 1000.service - -
Oddly enough, this happens more often when using some wireless
headphones (no bluetooth, but with a proprietary USB dongle
transmitter) and I'm far from the computer.
-- System Information:
Debian Release: 12.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-0.deb12.1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gnome-settings-daemon depends on:
ii gnome-settings-daemon-common 43.0-4
ii gsettings-desktop-schemas 43.0-1
ii libasound2 1.2.8-1+b1
ii libc6 2.36-9+deb12u7
ii libcairo2 1.16.0-7
ii libcanberra-gtk3-0 0.30-10
ii libcanberra0 0.30-10
ii libcolord2 1.4.6-2.2
ii libcups2 2.4.2-3+deb12u5
ii libfontconfig1 2.14.1-4
ii libgcr-base-3-1 3.41.1-1+b1
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+b1
ii libgeoclue-2-0 2.6.0-2
ii libgeocode-glib-2-0 3.26.3-6
ii libglib2.0-0 2.74.6-2+deb12u2
ii libgnome-desktop-3-20 43.2-2
ii libgtk-3-0 3.24.38-2~deb12u1
ii libgudev-1.0-0 237-2
ii libgweather-4-0 4.2.0-2
ii libmm-glib0 1.20.4-1
ii libnm0 1.42.4-1
ii libnotify4 0.8.1-1
ii libnspr4 2:4.35-1
ii libnss3 2:3.87.1-1
ii libpam-systemd [logind] 252.19-1~deb12u1
ii libpango-1.0-0 1.50.12+ds-1
ii libpangocairo-1.0-0 1.50.12+ds-1
ii libpolkit-gobject-1-0 122-3
ii libpulse-mainloop-glib0 16.1+dfsg1-2+b1
ii libpulse0 16.1+dfsg1-2+b1
ii libspa-0.2-bluetooth 1.0.5-1~bpo12+1
ii libupower-glib3 0.99.20-2
ii libwacom9 2.6.0-1
ii libwayland-client0 1.21.0-1
ii libx11-6 2:1.8.4-2+deb12u2
ii libxext6 2:1.3.4-1+b1
ii libxfixes3 1:6.0.0-2
ii libxi6 2:1.8-1+b1
ii pipewire-audio 1.0.5-1~bpo12+1
Versions of packages gnome-settings-daemon recommends:
ii iio-sensor-proxy 3.0-2
ii pipewire-audio 1.0.5-1~bpo12+1
ii pkexec 122-3
ii x11-xserver-utils 7.7+9+b1
Versions of packages gnome-settings-daemon suggests:
pn usbguard <none>
-- no debconf information
--
Br,
Andres
More information about the pkg-gnome-maintainers
mailing list