Media Keys Don't Work

Reply

Re: Media Keys Don't Work

Rising Star 14 ArtGravity
Rising Star 14

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

ArtGravityRising Star 14
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Re: Media Keys Don't Work

MadMartian
Regular
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.

Re: Media Keys Don't Work

xkg02s-u_shl
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

Re: Media Keys Don't Work

sleigh_boy
Newbie

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.

Re: Media Keys Don't Work

MadMartian
Regular
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.

Re: Media Keys Don't Work

dchristofolli
Casual Listener

tnx so much

Re: Media Keys Don't Work

6etacat
Newbie

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

BlackDex
Casual Listener

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.

 

Re: Media Keys Don't Work

dimovnike
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

SirScrambly
Regular

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

SUGGESTED POSTS