I use keyboard short.cuts to control apps that use the media controls.
But frequently after opening/closing apps that use media controls, the keyboard shortcuts stop working (even though they did previously). I can control it using the UI media controls in the notifications centre even if the keyboard shortcuts don't work, so something must be broken here.
The only thing that's been able to fix this is rebooting, which I shouldn't have to do (nor should I have to run some command to restart the media service or whatever).
Environment
- Ubuntu 24.04.1 LTS
- Gnome 3.36.8
For me it helped to close the Chromium Webbrowser.
Re-opening it does not prevent the button from working then.
I previously had a shortcut configured on the key for
rhythmbox-client --play-pause
in the keyboard system settings, and removed it.The keyboard system settings is not detecting the play/pause button any longer for keyboard shortcuts (it does not assign it anew), the button still works.
Linux box 5.4.0-67-generic #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux