File 0004-set-wayland-default.patch of Package sddm
From: Shawn W Dunn <sfalken@opensuse.org>
Date: Wed, 11 Jun 2025 15:44:04 +0200
Subject: [PATCH] Set Wayland as default session for sddm
Sets sddm to use the wayland session by default. X11 functionality
will be provided by X11 subpackage
Index: sddm-0.21.0/src/common/Configuration.h
===================================================================
--- sddm-0.21.0.orig/src/common/Configuration.h
+++ sddm-0.21.0/src/common/Configuration.h
@@ -38,7 +38,7 @@ namespace SDDM {
// Name Type Default value Description
// TODO: Change default to x11-user in a future release
- Entry(DisplayServer, QString, _S("x11"), _S("Which display server should be used.\n"
+ Entry(DisplayServer, QString, _S("wayland"), _S("Which display server should be used.\n"
"Valid values are: x11, x11-user, wayland. Wayland support is experimental"));
Entry(HaltCommand, QString, _S(HALT_COMMAND), _S("Halt command"));
Entry(RebootCommand, QString, _S(REBOOT_COMMAND), _S("Reboot command"));