feat(profiles): update kde integration.

See #134
This commit is contained in:
Alexandre Pujol 2023-04-24 18:56:28 +01:00
parent 52d49fa3ec
commit 7ddba7230d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
15 changed files with 89 additions and 19 deletions

View file

@ -42,6 +42,7 @@ profile at-spi-bus-launcher @{exec_path} flags=(attach_disconnected) {
owner /tmp/runtime-*/xauth_?????? r,
owner @{run}/user/@{uid}/gdm/Xauthority r,
owner @{run}/user/@{uid}/xauth_?????? r,
/var/lib/lightdm/.Xauthority r,
/var/lib/gdm{3,}/.config/dconf/user r,

View file

@ -92,6 +92,7 @@ profile at-spi2-registryd @{exec_path} flags=(attach_disconnected) {
owner /tmp/runtime-*/xauth_?????? r,
owner @{run}/user/@{uid}/gdm/Xauthority r,
owner @{run}/user/@{uid}/xauth_?????? r,
owner /dev/tty[0-9]* rw,

View file

@ -20,6 +20,7 @@ profile polkit-kde-authentication-agent @{exec_path} {
include <abstractions/mesa>
include <abstractions/nameservice-strict>
include <abstractions/qt5-compose-cache-write>
include <abstractions/qt5>
include <abstractions/vulkan>
include <abstractions/wayland>
include <abstractions/X>
@ -29,14 +30,15 @@ profile polkit-kde-authentication-agent @{exec_path} {
@{exec_path} mr,
/{usr/,}lib/polkit-[0-9]/polkit-agent-helper-[0-9] rPx,
/{usr/,}lib/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so mr,
/usr/share/hwdata/pnp.ids r,
/usr/share/qt/translations/*.qm r,
/usr/share/qt5ct/** r,
/var/lib/dbus/machine-id r,
/etc/machine-id r,
/etc/xdg/kdeglobals r,
/etc/xdg/kwinrc r,
/var/lib/dbus/machine-id r,
owner @{user_cache_dirs}/icon-cache.kcache rw,

View file

@ -13,13 +13,17 @@ profile xdg-desktop-portal-kde @{exec_path} {
include <abstractions/freedesktop.org>
include <abstractions/mesa>
include <abstractions/nameservice-strict>
include <abstractions/qt5>
include <abstractions/vulkan>
@{exec_path} mr,
/usr/share/hwdata/pnp.ids r,
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
/usr/share/mime/{,**} r,
/usr/share/qt/translations/*.qm r,
/etc/xdg/kdeglobals r,
/etc/xdg/kwinrc r,
owner @{HOME}/.Xauthority r,
owner @{HOME}/.cache/*.kcache r,

View file

@ -13,12 +13,14 @@ profile xprop @{exec_path} {
@{exec_path} mr,
/usr/etc/X11/xdm/Xresources r,
/usr/share/icons/*/cursors/crosshair r,
owner @{HOME}/.Xauthority r,
owner @{HOME}/.icons/default/index.theme r,
owner /tmp/runtime-*/xauth_?????? r,
owner @{run}/user/@{uid}/xauth_* rl,
# file_inherit
owner /dev/tty[0-9]* rw,