feat(profile): improve integration with kde

see #496
This commit is contained in:
Alexandre Pujol 2024-09-18 16:59:44 +01:00
parent 6fd05f26af
commit 02d8aaee7f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
25 changed files with 108 additions and 17 deletions

View file

@ -12,12 +12,14 @@ profile libreoffice @{exec_path} {
include <abstractions/base>
include <abstractions/audio-client>
include <abstractions/bus-session>
include <abstractions/cups-client>
include <abstractions/dconf-write>
include <abstractions/desktop>
include <abstractions/enchant>
include <abstractions/fontconfig-cache-read>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
include <abstractions/qt5-settings-write>
include <abstractions/ssl_certs>
include <abstractions/user-read-strict>
include <abstractions/user-write-strict>
@ -59,21 +61,28 @@ profile libreoffice @{exec_path} {
@{lib}/libreoffice/share/extensions/{,**/}__pycache__/ w,
/usr/share/hyphen/{,**} r,
/usr/share/knotifications{5,6}/plasma_workspace.notifyrc r,
/usr/share/libexttextcat/{,**} r,
/usr/share/liblangtag/{,**} r,
/usr/share/libreoffice/{,**} r,
/usr/share/mythes/{,**} r,
/usr/share/thumbnailers/{,**} r,
/etc/java-openjdk/{,**} r,
/etc/libreoffice/{,**} r,
/etc/paperspecs r,
/etc/xdg/* r,
owner @{user_cache_dirs}/libreoffice/{,**} rw,
owner @{user_config_dirs}/libreoffice/ rw,
owner @{user_config_dirs}/libreoffice/** rwk,
owner @{user_config_dirs}/soffice.*.lock rwk,
owner @{user_config_dirs}/trashrc r,
owner @{user_config_dirs}/plasma_workspace.notifyrc r,
owner @{user_config_dirs}/kservicemenurc r,
owner @{user_config_dirs}/kcminputrc r,
owner @{user_config_dirs}/kdedefaults/kcminputrc r,
owner @{user_share_dirs}/#@{int} rw,
owner @{user_share_dirs}/user-places.xbel r,
owner @{tmp}/ r,
owner @{tmp}/@{rand6} rwk,
@ -83,6 +92,8 @@ profile libreoffice @{exec_path} {
owner @{tmp}/hsperfdata_@{user}/ rw,
owner @{tmp}/hsperfdata_@{user}/@{int} rwk,
owner @{run}/user/@{uid}/#@{int} rw,
@{sys}/devices/system/cpu/cpu@{int}/microcode/version r,
@{sys}/devices/virtual/block/**/queue/rotational r,
@{sys}/kernel/mm/hugepages/ r,
@ -95,6 +106,7 @@ profile libreoffice @{exec_path} {
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/coredump_filter rw,
owner @{PROC}/@{pid}/mountinfo r,
owner @{PROC}/@{pid}/mounts r,
/dev/tty rw,