setup_wayland.sh aktualisiert

This commit is contained in:
2026-05-21 14:12:36 +00:00
parent ffd14d7270
commit a0029b5818

View File

@@ -21,7 +21,7 @@ fi
# 2. Repositories aktualisieren und Basispakete installieren # 2. Repositories aktualisieren und Basispakete installieren
echo -e "\n${C_GREEN}[1/6] Installiere Systempakete (Wayland, Labwc, Rust)...${C_RESET}" echo -e "\n${C_GREEN}[1/6] Installiere Systempakete (Wayland, Labwc, Rust)...${C_RESET}"
apk update 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) # 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}" 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" chmod 0700 "$XDG_RUNTIME_DIR"
fi fi
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 # Startet Wayland/Labwc automatisch, wenn du dich auf TTY1 einloggst
if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec dbus-run-session labwc exec dbus-run-session labwc