mate-desktop / mate-settings-daemon

MATE settings daemon
https://mate-desktop.org
GNU General Public License v2.0
43 stars 47 forks source link

media keys still don't work properly in mate 1.20.1 #218

Open A-Shahbazi opened 6 years ago

A-Shahbazi commented 6 years ago

Expected behaviour

Media keys should work with all media players

Actual behaviour

Media keys don't work with some media players. They work in, for example, Rhythmbox but do not work in Gnome MPV.

Steps to reproduce the behaviour

  1. Open Gnome MPV and add some files to play.
  2. Press media keys(pause or next)

MATE general version

1.20.1

Package version

1.20.1

Linux Distribution

Solus

Link to downstream report of your Distribution

alexarnaud commented 6 years ago

Hello A-Shahbazi,

If it works with some application and not with some other it's more a bug in the application that don't work, not in Mate.

Why do you think it's due to a Mate issue?

Best regards, Alex.

Le 12/04/2018 à 08:02, A-Shahbazi a écrit :

    Expected behaviour

Media keys should work with all media players

    Actual behaviour

Media keys don't work with some media players. They work in, for example, Rhythmbox but do not work in Gnome MPV.

    Steps to reproduce the behaviour
  1. Open Gnome MPV and add some files to play.
  2. Press media keys(pause or next)

    MATE general version

1.20.1

    Package version

1.20.1

    Linux Distribution

Solus

    Link to downstream report of your Distribution

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mate-desktop/mate-settings-daemon/issues/218, or mute the thread https://github.com/notifications/unsubscribe-auth/AD_1DBzI7f7si8Qr4c-0-SefUIYryBUfks5tnu4HgaJpZM4TRMBM.

A-Shahbazi commented 6 years ago

Hi @alexarnaud, Simply because the keys work in other DEs I have tested(Budgie and Gnome-Shell)

alexarnaud commented 6 years ago

OK, thank you @A-Shahbazi

I don't have media keys on my keyboard for testing. @monsta @raveit65 @lukefromdc Do you have a media key to test this ?

Best regards, Alex.

monsta commented 6 years ago

I have a play/pause key, and it does nothing in gnome-mpv 0.11.

monsta commented 6 years ago

I found this: https://github.com/gnome-mpv/gnome-mpv/commit/fe0d83df7b06fbe103b9eda31b5448d2c6ce8783

Looks like it only likes org.gnome.SettingsDaemon D-Bus name.

lukefromdc commented 6 years ago

On my setup, media keys other than volume (which works everywhere) work in Audacious (just found that out) but not in gnome-mpv, so this is confirmed

monsta commented 6 years ago

Volume keys should work for sure - they change the "global" sound settings, not affecting player's setting.

alexarnaud commented 6 years ago

Le 12/04/2018 à 20:44, monsta a écrit :

Volume keys should work for sure - they change the "global" sound settings, not affecting player's setting.

Can we do something at our level? Can we get the code from Cinamon to make this working also on Mate?

Best regards, Alex.

vasyugan commented 6 years ago

also not working with Cantata (which works under GNOME)

monsta commented 5 years ago

Cantata does the same as gnome-mpv - recognizes only org.gnome.SettingsDaemon D-Bus name.

https://github.com/CDrummond/cantata/commit/863c6598c5c4af75d402347e22d595f58b2fdae9