From a0029b5818401bbe0a59881472d7328eb7e19fbc Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" Date: Thu, 21 May 2026 14:12:36 +0000 Subject: [PATCH] setup_wayland.sh aktualisiert --- setup_wayland.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup_wayland.sh b/setup_wayland.sh index 6d75121..3a1aeca 100644 --- a/setup_wayland.sh +++ b/setup_wayland.sh @@ -21,7 +21,7 @@ fi # 2. Repositories aktualisieren und Basispakete installieren echo -e "\n${C_GREEN}[1/6] Installiere Systempakete (Wayland, Labwc, Rust)...${C_RESET}" apk update -apk add wayland labwc foot dbus seatd cargo wayland-dev libxkbcommon-dev build-base bash nano ttf-dejavu ttf-liberation font-noto +apk add wayland labwc foot dbus seatd cargo wayland-dev libxkbcommon-dev build-base bash nano ttf-dejavu ttf-liberation font-noto mesa-dri-gallium mesa-egl mesa-gles xf86-video-modesetting libgbm # 3. seatd aktivieren und starten (wichtig für Grafik- und Input-Rechte) echo -e "\n${C_GREEN}[2/6] Konfiguriere und starte den seatd-Dienst...${C_RESET}" @@ -101,6 +101,10 @@ if [ -z "$XDG_RUNTIME_DIR" ]; then chmod 0700 "$XDG_RUNTIME_DIR" fi fi +export WLR_RENDERER_ALLOW_SOFTWARE=1 +export WLR_RENDERER=pixman +export WLR_NO_HARDWARE_CURSORS=1 +export WLR_BACKENDS=headless,libinput # Startet Wayland/Labwc automatisch, wenn du dich auf TTY1 einloggst if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then exec dbus-run-session labwc