feat(profile): ensure compatibility with userspace tools.
This commit is contained in:
parent
603491a02e
commit
23312c1640
23 changed files with 23 additions and 135 deletions
|
|
@ -20,7 +20,7 @@ profile ibus-portal @{exec_path} flags=(attach_disconnected) {
|
|||
member={RequestName,ReleaseName}
|
||||
peer=(name=org.freedesktop.DBus, label=dbus-daemon),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ profile xdg-document-portal @{exec_path} flags=(attach_disconnected) {
|
|||
member=GetMountPoint
|
||||
peer=(name=:*, label="{snap,xdg-desktop-portal}"),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ profile xdg-permission-store @{exec_path} flags=(attach_disconnected) {
|
|||
member=Lookup
|
||||
peer=(name=:*, label="{gnome-shell,xdg-desktop-portal}"),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ profile gjs-console @{exec_path} flags=(attach_disconnected) {
|
|||
member={ActiveChanged,WakeUpScreen,GetActive}
|
||||
peer=(name=:*, label="{gnome-shell,gnome-session-binary,xdg-desktop-portal-*}"),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ profile gnome-session-binary @{exec_path} flags=(attach_disconnected) {
|
|||
member=GetAddress
|
||||
peer=(name=org.a11y.Bus), # all peer's labels
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
|
|||
member={GetAll,GetResources,Set}
|
||||
peer=(name=:*, label="{gsd-power,gsd-color,xdg-desktop-portal-*}"),
|
||||
|
||||
dbus receive bus=session path={/org/gnome/Shell/Screenshot,/org/gnome/Shell/Introspect,/org/gtk/Notifications,/org/gnome/Mutter/RemoteDesktop,/org/gnome/Mutter/ScreenCast}
|
||||
dbus receive bus=session path=/org/{gnome/Shell/Screenshot,gnome/Shell/Introspect,gtk/Notifications,gnome/Mutter/RemoteDesktop,gnome/Mutter/ScreenCast}
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=GetAll
|
||||
peer=(name=:* label=xdg-desktop-portal-*),
|
||||
|
|
@ -334,7 +334,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
|
|||
member=Introspect
|
||||
peer=(name=:*), # all paths and peer's labels
|
||||
|
||||
dbus receive bus=session path={/,/org,/StatusNotifierWatcher}
|
||||
dbus receive bus=session path=/{,org,StatusNotifierWatcher}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell), # itself
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ profile goa-daemon @{exec_path} {
|
|||
member=GetManagedObjects
|
||||
peer=(name=:*, label="{gvfs-goa-volume-monitor,goa-daemon,goa-identity-service,unconfined}"),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ profile goa-identity-service @{exec_path} {
|
|||
member=GetManagedObjects
|
||||
peer=(name=:*, label=goa-daemon),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ profile gsd-housekeeping @{exec_path} flags=(attach_disconnected) {
|
|||
member={CancelEndSession,QueryEndSession,EndSession,Stop}
|
||||
peer=(name=:*, label=gnome-session-binary),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ profile gsd-rfkill @{exec_path} flags=(attach_disconnected) {
|
|||
member=PropertiesChanged
|
||||
peer=(name=org.freedesktop.DBus, label=gnome-shell),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ profile gsd-screensaver-proxy @{exec_path} flags=(attach_disconnected) {
|
|||
member={ClientAdded,SessionRunning,ClientRemoved,InhibitorRemoved,InhibitorAdded}
|
||||
peer=(name=:*, label=gnome-session-binary),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ profile gsd-sharing @{exec_path} flags=(attach_disconnected) {
|
|||
member=StopUnit
|
||||
peer=(name=org.freedesktop.systemd[0-9]*), # all peer's labels
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ profile tracker-miner @{exec_path} flags=(attach_disconnected) {
|
|||
member=Query
|
||||
peer=(name=:*, label=tracker-extract),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ profile gvfs-afc-volume-monitor @{exec_path} {
|
|||
member={List,IsSupported}
|
||||
peer=(name=:*, label="{gnome-shell,gnome-control-center,gnome-extension-ding,tracker-*,unconfined}"),
|
||||
|
||||
dbus receive bus=session path={/,/org/gtk/Private/RemoteVolumeMonitor}
|
||||
dbus receive bus=session path=/{,org/gtk/Private/RemoteVolumeMonitor}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ profile gvfs-goa-volume-monitor @{exec_path} {
|
|||
member={List,IsSupported}
|
||||
peer=(name=:*, label="{gnome-shell,gnome-control-center,gnome-extension-ding,tracker-*,unconfined}"),
|
||||
|
||||
dbus receive bus=session path={/,/org/gtk/Private/RemoteVolumeMonitor}
|
||||
dbus receive bus=session path=/{,org/gtk/Private/RemoteVolumeMonitor}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ profile gvfs-gphoto2-volume-monitor @{exec_path} {
|
|||
member={List,IsSupported}
|
||||
peer=(name=:*, label="{gnome-shell,gnome-control-center,gnome-extension-ding,tracker-*,unconfined}"),
|
||||
|
||||
dbus receive bus=session path={/,/org,/org/gtk/Private/RemoteVolumeMonitor}
|
||||
dbus receive bus=session path=/{,org/,org/gtk/Private/RemoteVolumeMonitor}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ profile gvfs-mtp-volume-monitor @{exec_path} {
|
|||
member={List,IsSupported}
|
||||
peer=(name=:*, label="{gnome-shell,gnome-control-center,gnome-extension-ding,tracker-*,unconfined}"),
|
||||
|
||||
dbus receive bus=session path={/,/org,/org/gtk/Private/RemoteVolumeMonitor}
|
||||
dbus receive bus=session path=/{,org/,org/gtk/Private/RemoteVolumeMonitor}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ profile gvfs-udisks2-volume-monitor @{exec_path} flags=(attach_disconnected) {
|
|||
member={List,IsSupported}
|
||||
peer=(name=:*, label="{gnome-shell,gnome-control-center,gnome-extension-ding,tracker-*,unconfined}"),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ profile gvfsd @{exec_path} {
|
|||
member=Spawned
|
||||
peer=(name=:*, label=gvfsd-*),
|
||||
|
||||
dbus receive bus=session path={/,/org}
|
||||
dbus receive bus=session path=/{,org}
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=:*, label=gnome-shell),
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/mullvad-daemon
|
||||
@{exec_path} += "/opt/Mullvad VPN/resources/mullvad-daemon"
|
||||
@{exec_path} += /opt/Mullvad*/resources/mullvad-daemon
|
||||
profile mullvad-daemon @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = "/opt/Mullvad VPN/mullvad-gui"
|
||||
@{exec_path} = /opt/Mullvad*/mullvad-gui
|
||||
profile mullvad-gui @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/chromium-common>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue