Describe the bug
The mpris2 hotkey is not working after I log into my desktop in few seconds.
Steps To Reproduce:
Expected behavior
The MPRIS2 hotkey always works.
System Details (please complete the following information):
Any clue on this?
Sorry, I'm not sure what your MPRIS hotkey is? Do you mean the play function key on your keyboard?
GSConnect doesn't affect or intercept keyboard shortcuts or media keys. The only case where we use keyboard shortcuts if you set them yourself in the settings, but those are still handled by GNOME Shell.
Are you sure this is GSConnect doing this? Does it work if you uninstall GSConnect? Are there any errors in the log?
@andyholmes
Sorry, I'm not sure what your MPRIS hotkey is? Do you mean the play function key on your keyboard?
Yes, I mean the play function key on my keyboard
GSConnect doesn't affect or intercept keyboard shortcuts or media keys. The only case where we use keyboard shortcuts if you set them yourself in the settings, but those are still handled by GNOME Shell.
Are you sure this is GSConnect doing this? Does it work if you uninstall GSConnect? Are there any errors in the log?
Yes, it worked if I had disable GSConnect, but I don't have this issue now, maybe they have fixed it in the new gnome-shell.
@andyholmes I was wrong, I have this issue very often if I have enabled the MPRIS plugin in the settings. If I uncheck the box, the function key works, if I check the box, it doesn't work again.
@laichiaheng Can you capture a Support Log in GSConnect, while this problem is occurring?
In other words:
That should hopefully show us anything in GSConnect that might be interfering with normal function of the media keys.
GSConnect Version: 26
GSConnect Install: system
GJS: 15800
XDG_SESSION_TYPE: x11
GDMSESSION: gnome
--------------------------------------------------------------------------------
-- Logs begin at Mon 2019-09-16 12:35:49 CST, end at Fri 2019-09-27 23:23:26 CST. --
9ๆ 27 23:23:00 rtkit-daemon[1150]: Supervising 9 threads of 5 processes of 2 users.
9ๆ 27 23:23:00 rtkit-daemon[1150]: Supervising 9 threads of 5 processes of 2 users.
9ๆ 27 23:23:00 rtkit-daemon[1150]: Supervising 9 threads of 5 processes of 2 users.
9ๆ 27 23:23:00 rtkit-daemon[1150]: Supervising 9 threads of 5 processes of 2 users.
9ๆ 27 23:23:00 rtkit-daemon[1150]: Successfully made thread 30925 of process 30901 owned by '1000' RT at priority 10.
9ๆ 27 23:23:00 rtkit-daemon[1150]: Supervising 10 threads of 6 processes of 2 users.
9ๆ 27 23:23:00 rtkit-daemon[1150]: Successfully made thread 30926 of process 30901 owned by '1000' RT at priority 10.
9ๆ 27 23:23:00 rtkit-daemon[1150]: Supervising 11 threads of 6 processes of 2 users.
9ๆ 27 23:23:00 gnome-shell[29965]: Usage of object.actor is deprecated for Button
get@resource:///org/gnome/shell/ui/environment.js:242:29
Tooltip@/usr/share/gnome-shell/extensions/[email protected]/shell/tooltip.js:97:1
_init@/usr/share/gnome-shell/extensions/[email protected]/shell/gmenu.js:397:28
_onItemsChanged@/usr/share/gnome-shell/extensions/[email protected]/shell/gmenu.js:596:26
9ๆ 27 23:23:00 gnome-shell[29965]: Usage of object.actor is deprecated for Button
get@resource:///org/gnome/shell/ui/environment.js:242:29
Tooltip@/usr/share/gnome-shell/extensions/[email protected]/shell/tooltip.js:98:13
_init@/usr/share/gnome-shell/extensions/[email protected]/shell/gmenu.js:397:28
_onItemsChanged@/usr/share/gnome-shell/extensions/[email protected]/shell/gmenu.js:596:26
9ๆ 27 23:23:00 gnome-shell[29965]: JS WARNING: [/usr/share/gnome-shell/extensions/[email protected]/shell/gmenu.js 606]: reference to undefined property "hidden_when"
9ๆ 27 23:23:02 rtkit-daemon[1150]: Supervising 11 threads of 6 processes of 2 users.
9ๆ 27 23:23:02 rtkit-daemon[1150]: Supervising 11 threads of 6 processes of 2 users.
9ๆ 27 23:23:02 rtkit-daemon[1150]: Supervising 11 threads of 6 processes of 2 users.
9ๆ 27 23:23:02 rtkit-daemon[1150]: Supervising 11 threads of 6 processes of 2 users.
9ๆ 27 23:23:02 rtkit-daemon[1150]: Successfully made thread 30991 of process 30954 owned by '1000' RT at priority 10.
9ๆ 27 23:23:02 rtkit-daemon[1150]: Supervising 12 threads of 7 processes of 2 users.
9ๆ 27 23:23:02 rtkit-daemon[1150]: Successfully made thread 30992 of process 30954 owned by '1000' RT at priority 10.
9ๆ 27 23:23:02 rtkit-daemon[1150]: Supervising 13 threads of 7 processes of 2 users.
9ๆ 27 23:23:03 gnome-shell[29965]: Usage of object.actor is deprecated for AppIndicators_IndicatorStatusIcon
get@resource:///org/gnome/shell/ui/environment.js:242:29
_updateStatus@/usr/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:88:13
_emit@resource:///org/gnome/gjs/modules/signals.js:135:27
_onPropertiesChanged/<@/usr/share/gnome-shell/extensions/[email protected]/appIndicator.js:235:17
_onPropertiesChanged@/usr/share/gnome-shell/extensions/[email protected]/appIndicator.js:206:9
refreshPropertyOnProxy/<@/usr/share/gnome-shell/extensions/[email protected]/util.js:41:37
9ๆ 27 23:23:06 gnome-shell[29965]: _clutter_stage_queue_event: assertion 'CLUTTER_IS_STAGE (stage)' failed
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting deadbeef 1.8.2
9ๆ 27 23:23:08 deadbeef.desktop[29965]: server_start
9ๆ 27 23:23:08 deadbeef.desktop[29965]: searching for GUI plugins in /home/laichiaheng/.local/lib64/deadbeef
9ๆ 27 23:23:08 deadbeef.desktop[29965]: searching for GUI plugins in /home/laichiaheng/.local/lib/deadbeef
9ๆ 27 23:23:08 deadbeef.desktop[29965]: searching for GUI plugins in /usr/lib/deadbeef
9ๆ 27 23:23:08 deadbeef.desktop[29965]: load_plugin_dir /usr/lib/deadbeef: scandir found 54 files
9ๆ 27 23:23:08 deadbeef.desktop[29965]: found gui plugin ddb_gui_GTK2.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: added GTK2 gui plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: found gui plugin ddb_gui_GTK3.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: added GTK3 gui plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: load gui plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: checking GUI plugin: GTK2
9ๆ 27 23:23:08 deadbeef.desktop[29965]: checking GUI plugin: GTK3
9ๆ 27 23:23:08 deadbeef.desktop[29965]: found selected GUI plugin: GTK3
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/ddb_gui_GTK3.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugins from /home/laichiaheng/.local/lib64/deadbeef
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugins from /home/laichiaheng/.local/lib/deadbeef
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugins from /usr/lib/deadbeef
9ๆ 27 23:23:08 deadbeef.desktop[29965]: load_plugin_dir /usr/lib/deadbeef: scandir found 54 files
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/aac.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/adplug.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/alac.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/alsa.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/artwork.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/cdda.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/converter.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/converter_gtk2.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/converter_gtk3.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/dca.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/ddb_dumb.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/ddb_mono2stereo.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/ddb_shn.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/dsp_libsrc.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/ffap.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/ffmpeg.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/flac.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/gme.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/hotkeys.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/in_sc68.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/lastfm.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/m3u.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/mms.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/mp3.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/mpris.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/musepack.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/notify.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/nullout.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/oss.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/pltbrowser_gtk2.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/pltbrowser_gtk3.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/psf.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/pulse.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/rg_scanner.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/shellexec.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/shellexecui_gtk2.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/shellexecui_gtk3.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/sid.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/sndfile.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/supereq.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/tta.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/vfs_curl.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/vfs_zip.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/vorbis.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/vtx.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/wavpack.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/wildmidi.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: loading plugin /usr/lib/deadbeef/wma.so
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin GTK3 user interface
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin AAC player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Adplug player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin ALAC player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin ALSA output plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Album Artwork
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Audio CD player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Converter
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Converter GTK2 UI
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Converter GTK3 UI
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin dts decoder
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin DUMB module player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Mono to stereo
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Shorten player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Resampler (Secret Rabbit Code)
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Monkey's Audio (APE) decoder
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin FLAC decoder
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Game-Music-Emu player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Hotkey manager
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin SC68 player (Atari ST SNDH YM2149)
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin last.fm scrobbler
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin M3U and PLS support
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin mms vfs
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin MP3 player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin MPRISv2 plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin MusePack decoder
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin OSD Notify
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Null output plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin OSS output plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Playlist browser GTK2
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Playlist browser GTK3
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin PSF player using Audio Overload SDK
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin PulseAudio output plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin ReplayGain Scanner
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Shell commands
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Shellexec GTK2 UI
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Shellexec GTK3 UI
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin SID player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin WAV/PCM player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin SuperEQ
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin tta decoder
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin cURL vfs
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin ZIP vfs
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin Ogg Vorbis decoder
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin VTX player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin WavPack decoder
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin WildMidi player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin WMA player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin stdio vfs
9ๆ 27 23:23:08 deadbeef.desktop[29965]: starting plugin FFMPEG audio player
9ๆ 27 23:23:08 deadbeef.desktop[29965]: selected output plugin: ALSA output plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: INFO: from file /home/laichiaheng/.config/deadbeef/playlists/0.dbpl
9ๆ 27 23:23:08 deadbeef.desktop[29965]: convgui: gtkui plugin not found
9ๆ 27 23:23:08 deadbeef.desktop[29965]: plugin Converter GTK2 UI failed to connect to dependencies, deactivated.
9ๆ 27 23:23:08 deadbeef.desktop[29965]: plugin Playlist browser GTK2 failed to connect to dependencies, deactivated.
9ๆ 27 23:23:08 deadbeef.desktop[29965]: shellexecui: can't find gtkui plugin
9ๆ 27 23:23:08 deadbeef.desktop[29965]: plugin Shellexec GTK2 UI failed to connect to dependencies, deactivated.
9ๆ 27 23:23:08 deadbeef.desktop[29965]: resume: track 3775 pos 193.339203 playlist 0
9ๆ 27 23:23:08 deadbeef.desktop[29965]: gtkui plugin compiled for gtk version: 3.24.10
9ๆ 27 23:23:08 gnome-shell[29965]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x400000b
9ๆ 27 23:23:09 dbus-daemon[729]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
9ๆ 27 23:23:13 gnome-shell[29965]: Usage of object.actor is deprecated for AppIndicators_IndicatorStatusIcon
get@resource:///org/gnome/shell/ui/environment.js:242:29
_updateStatus@/usr/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:88:13
_emit@resource:///org/gnome/gjs/modules/signals.js:135:27
_onPropertiesChanged/<@/usr/share/gnome-shell/extensions/[email protected]/appIndicator.js:235:17
_onPropertiesChanged@/usr/share/gnome-shell/extensions/[email protected]/appIndicator.js:206:9
refreshPropertyOnProxy/<@/usr/share/gnome-shell/extensions/[email protected]/util.js:41:37
9ๆ 27 23:23:15 systemd[1]: fprintd.service: Succeeded.
9ๆ 27 23:23:15 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
9ๆ 27 23:23:15 kernel: audit: type=1131 audit(1569597795.334:164): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
9ๆ 27 23:23:18 gnome-shell[29965]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'
9ๆ 27 23:23:21 dbus-daemon[729]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.3766' (uid=1000 pid=31265 comm="/usr/lib/gvfsd-dnssd --spawner :1.30 /org/gtk/gvfs")
9ๆ 27 23:23:21 dbus-daemon[729]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
9ๆ 27 23:23:22 systemd[1]: systemd-localed.service: Succeeded.
9ๆ 27 23:23:22 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
9ๆ 27 23:23:22 kernel: audit: type=1131 audit(1569597802.821:165): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
9ๆ 27 23:23:26 gnome-shell[29965]: Usage of object.actor is deprecated for PamacUpdateIndicator
get@resource:///org/gnome/shell/ui/environment.js:242:29
_checkShowHide@/usr/share/gnome-shell/extensions/[email protected]/extension.js:198:4
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_updateStatus@/usr/share/gnome-shell/extensions/[email protected]/extension.js:253:3
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_checkUpdatesEnd@/usr/share/gnome-shell/extensions/[email protected]/extension.js:328:3
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_checkUpdatesRead@/usr/share/gnome-shell/extensions/[email protected]/extension.js:317:3
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_checkUpdates/this._updateProcess_sourceId<@/usr/share/gnome-shell/extensions/[email protected]/extension.js:285:92
@laichiaheng Thanks! Hmm, unfortunately there's not a lot there to go on.
Let me ask you this... how do you have the media keys bound to controls in DeaDBeeF? What does your Hotkeys setup look like? And, do you have any of the same hotkeys configured in GSConnect's Keyboard Shortcuts panel, or the Gnome settings Keyboard panel?
I mostly ask because, it looks like you _don't_ have the DeaDBeeF Gnome Media Keys Plugin installed. So, I'm guessing you must have manually bound the media keys, or maybe you're using global shortcuts?
(The plugin's not included in the Fedora RPM Fusion package either, I just found out โ I had to go to the plugins index at http://deadbeef.sourceforge.net/plugins.html, download the Zip file from SourceForge, and manually copy it into /usr/lib64/deadbeef/.)
I admit I'm still not clear why GSConnect would be interfering in the first place โ from the logs, it doesn't _appear_ that it actually is โ at least, not directly. Perhaps it's just that, when GSConnect shows up on the MPRIS2 bus, something chooses it as the default destination for media control inputs. In which case, installing that plugin might improve things.
@ferdnyc I installed the deadbeef-mpris2-plugin via AUR, and it works without setting up the hot key.
Our MPRIS plugin just sort of connects to MPRIS providers so we can send information to other clients, like the Android app.
It could be that GNOME Shell is directing the hotkey to GSConnect's exported MPRIS interface, but that should only happen when a connected device claims it's running a media player. There's probably not very good support for multiple media players in the GNOME Shell MPRIS handler.
@andyholmes It only happens when the Firefox browser is opened on my cellphone, if the browser on my cellphone is closed, the problem is gone.
I noticed it because I had installed the gnome-shell-extension-mpris-indicator-button-git, it kept showing that there was a firefox mpris option, but my browser on my PC had been closed.
@laichiaheng Aha! Then, yeah, it's definitely Gnome Shell's MPRIS support making decisions about which device MPRIS host should receive the media keys.
I would still recommend installing the Gnome Media Keys plugin for DeaDBeeF, the one I linked to a few comments back. With that installed, DeaDBeeF should be able to register itself as a listener for media key presses _directly_, separate from MPRIS. That way, it should always receive them.
The other option is, if you don't use computer control of your phone's media players, you could turn off the "Media Player Control" plugin in the KDE Connect app settings. That way, Gnome shouldn't direct MPRIS messages to it even when a controllable app is open.
Sounds good to me :)
I do find this issue interesting though, and GSConnect might be the best way to track it down. So if I get the chance and remember, I might try to figure out why this is happening in GNOME Shell and report/fix it upstream.
As @andyholmes noticed recently, Gnome Shell's weird logic regarding which app to target has been reported as a bug upstream, and there's an open merge request to add support for communicating recency-of-interaction via the MPRIS protocol, which should enable it to be smarter about which app to deliver keys to.
Most helpful comment
The other option is, if you don't use computer control of your phone's media players, you could turn off the "Media Player Control" plugin in the KDE Connect app settings. That way, Gnome shouldn't direct MPRIS messages to it even when a controllable app is open.