From b4060f6a24e229c8bcd42a3fd401a98d7384a103 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sun, 13 Aug 2023 23:36:05 +0000 Subject: mpd: allow MPRIS2 (#5951) mpDris2 brings MPRIS2 support to MPD: https://github.com/eonpatapon/mpDris2 --- etc/profile-a-l/gmpc.profile | 5 +++-- etc/profile-m-z/mpDris2.profile | 4 ++++ etc/profile-m-z/mpd.profile | 4 ++++ 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/profile-a-l/gmpc.profile b/etc/profile-a-l/gmpc.profile index f3e045000..8c20f7398 100644 --- a/etc/profile-a-l/gmpc.profile +++ b/etc/profile-a-l/gmpc.profile @@ -47,8 +47,9 @@ private-etc private-tmp writable-run-user -# dbus-user none -# dbus-system none +dbus-user filter +dbus-user.talk org.mpris.MediaPlayer2.mpd +dbus-system none # memory-deny-write-execute - breaks on Arch restrict-namespaces diff --git a/etc/profile-m-z/mpDris2.profile b/etc/profile-m-z/mpDris2.profile index a9631733c..86359426b 100644 --- a/etc/profile-m-z/mpDris2.profile +++ b/etc/profile-m-z/mpDris2.profile @@ -52,6 +52,10 @@ private-etc private-lib libdbus-1.so.*,libdbus-glib-1.so.*,libgirepository-1.0.so.*,libnotify.so.*,libpython*,python2*,python3* private-tmp +dbus-user filter +dbus-user.own org.mpris.MediaPlayer2.mpd +dbus-system none + #memory-deny-write-execute - breaks on Arch (see issue #1803) read-only ${HOME} diff --git a/etc/profile-m-z/mpd.profile b/etc/profile-m-z/mpd.profile index d1c4bd24f..6bf881faf 100644 --- a/etc/profile-m-z/mpd.profile +++ b/etc/profile-m-z/mpd.profile @@ -41,4 +41,8 @@ private-cache private-dev private-tmp +dbus-user filter +dbus-user.talk org.mpris.MediaPlayer2.mpd +dbus-system none + restrict-namespaces -- cgit v1.2.3-54-g00ecf