From 4eb3a9198d53025f2b7b7eef073bde559809eca2 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 7 May 2026 12:56:26 +0200 Subject: [PATCH] Ensure SDDM never tries to start an x11 session, just go straight to wayland Closes #5643 --- install/login/sddm.sh | 8 ++++++++ migrations/1778148645.sh | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 migrations/1778148645.sh diff --git a/install/login/sddm.sh b/install/login/sddm.sh index 21696b48..b04dd027 100644 --- a/install/login/sddm.sh +++ b/install/login/sddm.sh @@ -6,6 +6,14 @@ sudo mkdir -p /usr/local/share/wayland-sessions sudo cp "$OMARCHY_PATH/default/wayland-sessions/omarchy.desktop" /usr/local/share/wayland-sessions/omarchy.desktop sudo mkdir -p /etc/sddm.conf.d +cat </dev/null +[General] +DisplayServer=wayland + +[Wayland] +CompositorCommand=Hyprland +EOF + if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then cat </dev/null +[General] +DisplayServer=wayland + +[Wayland] +CompositorCommand=Hyprland +EOF