Media Keys Don't Work

Reply
Highlighted

Re: Media Keys Don't Work

Composer

I found that the suggestion to use mpris-control did exactly what I wanted, and this is no longer problematic for me.

Highlighted

Re: Media Keys Don't Work

Music Fan
Media keys stopped working for me after an update and then started working again suddenly. I checked the version and it's 1:1.0.98.78.gb45d2a6b-10. I don't know if the client was upgraded or a dependent package was upgraded.
Highlighted

Re: Media Keys Don't Work

Music Fan

EDIT: my bad. reboot fixed it

The latest snap update 1.1.5.153.gf614956d-16 is not with media keys too on Kubuntu 19.04. It worked with the previous versions (but that couldn't play local files due to a bug). Spotify doesn't show up in the media player widget

Highlighted

Re: Media Keys Don't Work

Casual Listener

Spotify 1.0.80.480.g51b03ac3 . Running on Gentoo with Plasma desktop. All media players and browsers work flawlessly with media keys, not Spotify. Alternate media shortcuts via D-Bus commands is a nasty hack. Please address this.

Highlighted

Re: Media Keys Don't Work

Music Fan
Not working again for me either.  I notice it works for awhile after a
reboot but then I think plasmashell or pulseaudio crashed and had to be
restarted and then the media keys stopped working again.
Do the devs read these? I wonder if the code is relying on stale
handles.
Highlighted

Re: Media Keys Don't Work

Casual Listener

tnx so much

Highlighted

Re: Media Keys Don't Work

Casual Listener

I'm using Spotify 1.1.10.546.ge08ef575 on Manjaro Linux. The browser and other software work well with media keys, not Spotify. Please fix this issue. 

Highlighted

Re: Media Keys Don't Work

Regular

There are several items which cause the media-keys not to work.

One is that chrome/chromium can also hijack these key's when you use youtube.

The systems then doesn't know which player to select and it can fail.


I have created a small utility which you can download from github:

https://github.com/BlackDex/mpris-control/releases


I created a special shortcut by using the super+media-keys which work only for spotify by using `mpris-control -t Spotify toggle` for example.


If you find any bugs, please report that at the issues section.

 

Highlighted

Re: Media Keys Don't Work

Casual Listener

You are right... killing chrome solves the issue. It seems that chrome does not release the keys when youtube is closed (if there is such a thing). Thanks.

Re: Media Keys Don't Work

Regular

How is this still an issue? Spotify, you're a down right travesty. UX, who does that?

SUGGESTED POSTS