feat(profile): update some dbus rules.

This commit is contained in:
Alexandre Pujol 2024-01-21 11:49:25 +00:00
parent 6556856fed
commit 81e98bf71d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 46 additions and 55 deletions

View file

@ -17,6 +17,7 @@ profile qbittorrent @{exec_path} {
include <abstractions/bus-session>
include <abstractions/bus-system>
include <abstractions/bus/org.a11y>
include <abstractions/bus/org.kde.StatusNotifierWatcher>
include <abstractions/consoles>
include <abstractions/dconf-write>
include <abstractions/dri-common>
@ -47,17 +48,7 @@ profile qbittorrent @{exec_path} {
network inet6 stream,
network netlink dgram,
network netlink raw,
dbus send bus=session path=/StatusNotifierWatcher
interface=org.freedesktop.DBus.Introspectable
member=Introspect
peer=(name=org.kde.StatusNotifierWatcher),
dbus send bus=session path=/StatusNotifierWatcher
interface=org.kde.StatusNotifierWatcher
member=RegisterStatusNotifierItem
peer=(name=org.kde.StatusNotifierWatcher),
dbus send bus=session path=/StatusNotifierItem
interface=org.kde.StatusNotifierItem
member={NewToolTip,NewIcon}
@ -67,12 +58,7 @@ profile qbittorrent @{exec_path} {
interface=org.kde.StatusNotifierItem
member=Activate
peer=(name=:*),
dbus send bus=session path=/StatusNotifierWatcher
interface=org.freedesktop.DBus.Properties
member=Get
peer=(name=org.kde.StatusNotifierWatcher),
dbus receive bus=session path=/{StatusNotifierItem,MenuBar}
interface=org.freedesktop.DBus.Properties
member=GetAll

View file

@ -16,6 +16,7 @@ profile remmina @{exec_path} {
include <abstractions/bus/org.freedesktop.hostname1>
include <abstractions/bus/org.freedesktop.secrets>
include <abstractions/bus/org.gtk.Private.RemoteVolumeMonitor>
include <abstractions/bus/org.kde.StatusNotifierWatcher>
include <abstractions/dconf-write>
include <abstractions/fonts>
include <abstractions/freedesktop.org>
@ -31,19 +32,9 @@ profile remmina @{exec_path} {
# dbus: own bus=session name=org.remmina.Remmina
dbus send bus=session path=/StatusNotifierWatcher
interface=org.freedesktop.DBus.Introspectable
member=Introspect
peer=(name=org.kde.StatusNotifierWatcher),
dbus (send, receive) bus=session path=/org/ayatana/NotificationItem/remmina_icon{,/**}
peer=(name="{:*,org.freedesktop.DBus}"), # all interfaces and members
dbus send bus=session path=/StatusNotifierWatcher
interface=org.kde.StatusNotifierWatcher
member=RegisterStatusNotifierItem
peer=(name=:*),
@{exec_path} r,
/usr/share/remmina/{,**} r,