0
I used to have my media keys bound to prev/next/pause with i3 like so
bindsym XF86AudioPrev exec --no-startup-id mpc prev
But I wanted to also use other players so I set it to
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
which runs via the D-Bus and controls all media players that follow the MPRIS Spec readme
So is there a MPRIS module for mpd or an adapter that runs as a service and translates the mpris signals for the mpd? I couldn't find any, but it would be nice to use the media keys for both, not just for one XOR the other.
I added a configuration as file as described in the README and it worked like a charm! The application doesn't run as a service so I also added a line to autostart it with i3. Thank you – pascalwhoop – 2018-07-19T07:51:48.960
1mpDris2 cannot be a system service, because MPRIS is provided on the session bus (which is individual for each session). You could run it as a
systemd --user
service if your distro chose the "user bus" model, but it's easiest to consider it a desktop/session service. – user1686 – 2018-07-19T07:53:51.547