Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Media keys doesn't work

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Media keys doesn't work

#1 Post by pedronovaes »

Hi,

When I use the Spotify app on Debian 10, sometimes the media keys don't work. I press the play/pause or next or before buttons and it doesn't work.

Can someone help me?

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Media keys doesn't work

#2 Post by Chrisdb »

Is this a Debian package or Snap install?

Did it work before? If so and you're using snap, try a previous version and see if it worked then.

spotify forums:
https://community.spotify.com/t5/Deskto ... ktop_linux

pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Re: Media keys doesn't work

#3 Post by pedronovaes »

Chrisdb wrote:Is this a Debian package or Snap install?
It is a Debian package. I installed using these commands:

Code: Select all

curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add - 
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client
When I turn on my computer, it works. But, over time, it stops working.
The same behavior for the Rhythmbox or other music player.

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Media keys doesn't work

#4 Post by Chrisdb »

Which DE are you using (Gnome, KDE, Xfce,...)

pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Re: Media keys doesn't work

#5 Post by pedronovaes »

Chrisdb wrote:Which DE are you using (Gnome, KDE, Xfce,...)
I'm using Gnome

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Media keys doesn't work

#6 Post by Chrisdb »

pedronovaes wrote: I'm using Gnome
Ok, can you post output of the journal from the moment you experienced the issue, f.e. your previous session:

Code: Select all

sudo journalctl -x -b -1

pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Re: Media keys doesn't work

#7 Post by pedronovaes »

It appears this message: Specifying boot ID or boot offset has no effect, no persistent journal was found.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Media keys doesn't work

#8 Post by Head_on_a_Stick »

Code: Select all

# mkdir -p /var/log/journal
deadbang

pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Re: Media keys doesn't work

#9 Post by pedronovaes »

It appears this message:

Feb 06 09:14:02 inspiron systemd-shutdown[1]: Syncing filesystems and block devices.
Feb 06 09:14:02 inspiron systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Feb 06 09:14:02 inspiron systemd-journald[339]: Journal stopped
-- Subject: The journal has been stopped
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The system journal process has shut down and closed all currently
-- active journal files.

pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Re: Media keys doesn't work

#10 Post by pedronovaes »

I just took a test. I opened spotify and it was working normally, then I opened a tab in chrome with youtube and closed spotify. I opened spotify and then the buttons stopped working with spotify and continued to work with youtube. Then I closed chrome and opened Spotify, so it worked normally.

Any idea what it might be?

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Media keys doesn't work

#11 Post by Chrisdb »

pedronovaes wrote:I just took a test. I opened spotify and it was working normally, then I opened a tab in chrome with youtube and closed spotify. I opened spotify and then the buttons stopped working with spotify and continued to work with youtube. Then I closed chrome and opened Spotify, so it worked normally.

Any idea what it might be?
Sounds like GNOME is playing tricks on you :D
Gnome is probably intercepting your media key events

Try this:

Code: Select all

sudo apt install dconf-editor
Now go to org.gnome.settings-daemon.plugins.media-keys and change the respective buttons to none ('')

pedronovaes
Posts: 44
Joined: 2019-08-07 17:49
Has thanked: 1 time

Re: Media keys doesn't work

#12 Post by pedronovaes »

Chrisdb wrote: Sounds like GNOME is playing tricks on you :D
Gnome is probably intercepting your media key events

Try this:

Code: Select all

sudo apt install dconf-editor
Now go to org.gnome.settings-daemon.plugins.media-keys and change the respective buttons to none ('')
I tried, but it didn't work. So, do you have another solution?


Post Reply