Create lxqt-globalkeysd
This commit is contained in:
parent
21b46dc8a9
commit
3e46e01953
1 changed files with 42 additions and 0 deletions
42
apparmor.d/groups/lxqt/lxqt-globalkeysd
Normal file
42
apparmor.d/groups/lxqt/lxqt-globalkeysd
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
#include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/lxqt-globalkeysd
|
||||
profile lxqt-globalkeysd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/gtk>
|
||||
include <abstractions/video>
|
||||
include <abstractions/lxqt>
|
||||
include <abstractions/qt5-shader-cache>
|
||||
include <abstractions/dbus-session>
|
||||
include <abstractions/dbus-accessibility>
|
||||
include <abstractions/gvfs-open>
|
||||
|
||||
signal (receive) set=(kill, term) peer=lxqt-session,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/screengrab rix,
|
||||
@{bin}/lxqt-config-brightness rpx,
|
||||
|
||||
/usr/share/lxqt/globalkeyshortcuts.conf rw,
|
||||
|
||||
/var/lib/dbus/machine-id r,
|
||||
|
||||
owner @{user_config_dirs}/lxqt/* rwk,
|
||||
owner @{user_config_dirs}/lxqt/globalkeyshortcuts.conf.lock wrk,
|
||||
owner @{user_config_dirs}/lxqt/#@{int} wr,
|
||||
owner @{user_config_dirs}/lxqt/globalkeyshortcuts.conf.@{rand6} rwkl -> @{user_config_dirs}/lxqt/#@{int},
|
||||
owner @{user_config_dirs}/lxqt/globalkeyshortcuts.conf.@{rand6} rwl -> @{user_config_dirs}/lxqt/#@{int},
|
||||
owner @{user_config_dirs}/lxqt/globalkeyshortcuts.conf.@{rand6} rw,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
owner /tmp/{,**} r,
|
||||
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue