feat(profile): update some dbus rules.
This commit is contained in:
parent
6556856fed
commit
81e98bf71d
10 changed files with 46 additions and 55 deletions
|
|
@ -22,4 +22,9 @@
|
|||
member=Completed
|
||||
peer=(name=:*, label=udisksd),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/UDisks2/block_devices/*
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=PropertiesChanged
|
||||
peer=(name=:*, label=udisksd),
|
||||
|
||||
include if exists <abstractions/bus/org.freedesktop.UDisks2.d>
|
||||
|
|
|
|||
6
apparmor.d/abstractions/bus/org.kde.StatusNotifierItem
Normal file
6
apparmor.d/abstractions/bus/org.kde.StatusNotifierItem
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
|
||||
include if exists <abstractions/bus/org.kde.StatusNotifierItem.d>
|
||||
|
|
@ -2,5 +2,19 @@
|
|||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
dbus send bus=session path=/StatusNotifierWatcher
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=Get
|
||||
peer=(name=org.kde.StatusNotifierWatcher, label=gnome-shell),
|
||||
|
||||
dbus send bus=session path=/StatusNotifierWatcher
|
||||
interface=org.kde.StatusNotifierWatcher
|
||||
member=RegisterStatusNotifierItem
|
||||
peer=(name="{:*,org.kde.StatusNotifierWatcher}", label=gnome-shell),
|
||||
|
||||
dbus send bus=session path=/StatusNotifierWatcher
|
||||
interface=org.freedesktop.DBus.Introspectable
|
||||
member=Introspect
|
||||
peer=(name=org.kde.StatusNotifierWatcher, label=gnome-shell),
|
||||
|
||||
include if exists <abstractions/bus/org.kde.StatusNotifierWatcher.d>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue