feat(dbus): improve dbus integration.

This commit is contained in:
Alexandre Pujol 2023-12-08 17:38:21 +00:00
parent 55a1fb6f9c
commit 853668e492
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
23 changed files with 103 additions and 240 deletions

View file

@ -16,6 +16,7 @@ profile gsd-xsettings @{exec_path} {
include <abstractions/bus/org.freedesktop.Accounts>
include <abstractions/bus/org.gnome.Mutter.DisplayConfig>
include <abstractions/bus/org.gnome.SessionManager>
include <abstractions/bus/org.gnome.Shell.Introspect>
include <abstractions/bus/org.gtk.vfs.MountTracker>
include <abstractions/dconf-write>
include <abstractions/dri-common>
@ -43,11 +44,6 @@ profile gsd-xsettings @{exec_path} {
dbus bind bus=session name=org.gnome.SettingsDaemon.XSettings,
dbus send bus=session path=/org/gnome/Shell/Introspect
interface=org.freedesktop.DBus.Properties
member=Get
peer=(name=org.gnome.Shell.Introspect, label=gnome-shell),
dbus send bus=system path=/org/freedesktop/Accounts/User@{uid}
interface=org.freedesktop.Accounts.User
member=SetInputSources
@ -58,11 +54,6 @@ profile gsd-xsettings @{exec_path} {
member=GetId
peer=(name=org.freedesktop.DBus, label=dbus-daemon),
dbus receive bus=session
interface=org.freedesktop.DBus.Introspectable
member=Introspect
peer=(name=:*, label=gnome-shell),
@{exec_path} mr,
@{bin}/cat rix,