I'm on Ubuntu 18.04 using a Das Keyboard 4. After a reboot today three of my media keys stopped working, the pause/play key and the prev/next track keys.
However, the mute key and the volume wheel still work.
I tried the following things with no success:
- Going into the keyboards shortcuts settings and setting the keys for these shortcuts explicitly. It does seem to register the keypress but setting or clearing the shortcut doesn't help.
- Messing around in dconf-editor per discussion in Media Keys not working on Ubuntu 17.10 - I tried clearing the setting for these shortcuts entirely and that did nothing.
- I tried creating a custom shortcut to run
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
per that same discussion, but I cannot associate it with the pause/play key from the keyboard shortcuts app. When I try to set the shortcut for this custom command it simply doesn't register the pause/play key being pressed. If I bind it to Ctrl+Alt+Shift+P it does work (but I want my media keys!).
This is incredibly annoying. If anyone has any idea how to fix it I'd be greatly appreciative.
showkey --keycodes
then press the mute, play, prev, next and mute back again and leave a comment @Fabby with the result. – Fabby Jun 29 '19 at 02:01I assume 28 is the release of enter.
– Dave Rolsky Jun 30 '19 at 18:20gsettings list-recursively org.gnome.settings-daemon.plugins.media-keys
Can you still get into chat with the rep you've got left? – Fabby Jun 30 '19 at 18:56And yes, I can join chat.
– Dave Rolsky Jun 30 '19 at 23:35