Kwin wayland, kwin wayland wrapper and sddm (#198)

* Update kwin_wayland

Please check the udev rules and change them if needed - I'm not familiar with them.

* Update kwin_wayland_wrapper

* Update sddm

* Update kwin_wayland_wrapper

Reverting change for @{run}/user/@{uid}

* Update kwin_wayland: Correct udev rule

* Update kwin_wayland: adding the wayland abs

* Update sddm: reverting owner /tmo rules

* Update sddm: reverting /usr/share/X11/xkb rule

* Update sddm: adding the mesa abs

* Update kwin_wayland: order udev rules
This commit is contained in:
curiosityseeker 2023-08-27 13:19:13 +02:00 committed by GitHub
parent 393f7001dc
commit 7f4cef2fff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 2 deletions

View file

@ -17,6 +17,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
include <abstractions/nameservice-strict>
include <abstractions/freedesktop.org>
include <abstractions/vulkan>
include <abstractions/wayland>
capability sys_nice,
@ -40,14 +41,30 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
/usr/share/kwin/{,**} r,
/usr/share/libinput/{,**} r,
/usr/share/mime/ r,
/usr/share/plasma/desktoptheme/default/{metadata.json,plasmarc} r,
/usr/share/qt/translations/*.qm r,
/usr/share/X11/xkb/{,**} r,
/etc/machine-id r,
/etc/xdg/menus/ r,
/etc/pipewire/client.conf.d/ r,
/usr/share/pipewire/client.conf r,
owner /var/lib/sddm/.cache/mesa_shader_cache/** r,
owner /var/lib/sddm/.cache/mesa_shader_cache/index rw,
owner /var/lib/sddm/.cache/ksycoca5_* r,
owner /var/lib/sddm/.config/kdeglobals r,
owner /var/lib/sddm/.config/kglobalshortcutsrc r,
owner /var/lib/sddm/.config/kglobalshortcutsrc.lock rw,
owner /var/lib/sddm/.config/kwinrc r,
owner /var/lib/sddm/.config/kwinrc.lock rw,
owner /var/lib/sddm/.config/kwinrc.@{rand6} rwl -> /var/lib/sddm/.config/#@{int},
owner @{user_cache_dirs}/icon-cache.kcache rw,
owner @{user_share_dirs}/kscreen/* r,
owner @{user_cache_dirs}/ksycoca5_* r,
owner @{user_cache_dirs}/plasma_theme_default_v*.kcache rw,
owner @{user_config_dirs}/#@{int} rwl,
owner @{user_config_dirs}/kcminputrc r,
@ -61,6 +78,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
owner @{user_config_dirs}/kwinrc.lock rwk,
owner @{user_config_dirs}/kwinrulesrc r,
owner @{user_config_dirs}/kxkbrc r,
owner @{user_config_dirs}/menus/{,applications-merged/} r,
@{run}/systemd/inhibit/*.ref rw,
@ -78,10 +96,16 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
@{run}/udev/data/c13:@{int} r, # for /dev/input/*
@{run}/udev/data/c226:@{int} r, # for /dev/dri/card*
@{run}/udev/data/+pci:* r,
@{run}/udev/data/+sound:card@{int} r,
@{run}/udev/data/+usb:* r,
@{run}/udev/data/c189:@{int} r, # for /dev/bus/usb/**
@{PROC}/sys/kernel/random/boot_id r,
/dev/input/event@{int} rw,
/dev/tty r,
/dev/tty@{int} rw,
include if exists <local/kwin_wayland>
}
}