Update lxqt-config-brightness
So far that seems to work without complains. sys-statements required both in subprofile and profile
This commit is contained in:
parent
4c77d7ef35
commit
93f3abbee5
1 changed files with 7 additions and 13 deletions
|
|
@ -34,24 +34,18 @@ profile lxqt-config-brightness @{exec_path} {
|
||||||
profile pkexec {
|
profile pkexec {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/app/pkexec>
|
include <abstractions/app/pkexec>
|
||||||
include <abstractions/python>
|
|
||||||
|
|
||||||
ptrace read peer=aa-notify,
|
@{bin}/@{bin}/lxqt-config-brightness Px,
|
||||||
|
|
||||||
@{sbin}/apparmor_parser Px,
|
|
||||||
@{lib}/@{python_name}/site-packages/apparmor/update_profile.py ix,
|
|
||||||
|
|
||||||
/usr/share/apparmor/** r,
|
|
||||||
/usr/share/terminfo/** r,
|
|
||||||
|
|
||||||
@{etc_ro}/inputrc r,
|
@{etc_ro}/inputrc r,
|
||||||
@{etc_ro}/inputrc.keys r,
|
@{etc_ro}/inputrc.keys r,
|
||||||
|
|
||||||
/etc/apparmor.d/ r,
|
@{sys}/class/backlight/ r,
|
||||||
/etc/apparmor.d/** rw,
|
@{sys}/devices/@{pci}/*_backlight/{,max_,actual_}brightness rw,
|
||||||
/etc/apparmor/* r,
|
@{sys}/devices/@{pci}/*_backlight/{uevent,type,enabled} r,
|
||||||
|
@{sys}/devices/@{pci}/backlight/**/{,max_,actual_}brightness rw,
|
||||||
@{PROC}/@{pid}/mounts r,
|
@{sys}/devices/@{pci}/backlight/**/{uevent,type,enabled} r,
|
||||||
|
@{sys}/devices/@{pci}/backlight/**/brightness rw,
|
||||||
|
|
||||||
include if exists <local/lxqt-config-brightness_pkexec>
|
include if exists <local/lxqt-config-brightness_pkexec>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue