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 {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/pkexec>
|
||||
include <abstractions/python>
|
||||
|
||||
ptrace read peer=aa-notify,
|
||||
|
||||
@{sbin}/apparmor_parser Px,
|
||||
@{lib}/@{python_name}/site-packages/apparmor/update_profile.py ix,
|
||||
|
||||
/usr/share/apparmor/** r,
|
||||
/usr/share/terminfo/** r,
|
||||
@{bin}/@{bin}/lxqt-config-brightness Px,
|
||||
|
||||
@{etc_ro}/inputrc r,
|
||||
@{etc_ro}/inputrc.keys r,
|
||||
|
||||
/etc/apparmor.d/ r,
|
||||
/etc/apparmor.d/** rw,
|
||||
/etc/apparmor/* r,
|
||||
|
||||
@{PROC}/@{pid}/mounts r,
|
||||
@{sys}/class/backlight/ r,
|
||||
@{sys}/devices/@{pci}/*_backlight/{,max_,actual_}brightness rw,
|
||||
@{sys}/devices/@{pci}/*_backlight/{uevent,type,enabled} r,
|
||||
@{sys}/devices/@{pci}/backlight/**/{,max_,actual_}brightness rw,
|
||||
@{sys}/devices/@{pci}/backlight/**/{uevent,type,enabled} r,
|
||||
@{sys}/devices/@{pci}/backlight/**/brightness rw,
|
||||
|
||||
include if exists <local/lxqt-config-brightness_pkexec>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue