feat(profiles): update some dbus rules.

This commit is contained in:
Alexandre Pujol 2022-12-07 20:42:36 +00:00
parent bec892b179
commit 7f231caf1b
Failed to generate hash of commit
3 changed files with 7 additions and 2 deletions

View file

@ -44,7 +44,7 @@ profile colord @{exec_path} flags=(attach_disconnected) {
member=GetAll
peer=(name=:*, label="{gsd-color,colord-sane,gnome-control-center}"),
dbus send bus=system path=/org/freedesktop/ColorManager
dbus (send, receive) bus=system path=/org/freedesktop/ColorManager
interface=org.freedesktop.DBus.Properties
member=GetAll
peer=(name=:*, label=colord),

View file

@ -67,6 +67,11 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
member=SettingChanged
peer=(name=org.freedesktop.DBus), # all peer's labels
dbus receive bus=session path=/org/freedesktop/portal/desktop
interface=org.freedesktop.portal.Settings
member={ReadAll,GetAll}
peer=(name=:*, label=snap.snapd-desktop-integration.snapd-desktop-integration),
dbus receive bus=session path=/org/freedesktop/portal/desktop
interface=org.freedesktop.impl.portal.Settings
member=SettingChanged

View file

@ -200,7 +200,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
member=JobRemoved
peer=(name=:*),
dbus send bus=system path=/org/freedesktop/login[0-9]{,/**}
dbus (send, receive) bus=system path=/org/freedesktop/login[0-9]{,/**}
interface=org.freedesktop.{DBus.Properties,login[0-9].{Manager,Session}}
peer=(name=:*, label=systemd-logind),