GNU bug report logs - #70527
[PATCH] services: sddm: Disable wayland display-service

Previous Next

Package: guix-patches;

Reported by: Feng Shu <tumashu <at> 163.com>

Date: Tue, 23 Apr 2024 07:10:03 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 70527 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70527; Package guix-patches. (Tue, 23 Apr 2024 07:10:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Feng Shu <tumashu <at> 163.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 23 Apr 2024 07:10:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Feng Shu <tumashu <at> 163.com>
To: "guix-patches" <guix-patches <at> gnu.org>
Subject: [PATCH] services: sddm: Disable wayland display-service
Date: Tue, 23 Apr 2024 15:08:22 +0800
From 97e36b18e3eefdf5d5fa86caf55383ad219b0340 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu <at> 163.com>
Date: Tue, 23 Apr 2024 14:37:13 +0800
Subject: [PATCH] services: sddm: Disable wayland display-service

* gnu/services/sddm.scm (<sddm-configuration>): wayland is not walid value of
display-server.

(sddm-configuration-file): do not use sddm-configuration-display-server at the
moment, for user config: (display-server "wayland"), will let user's addm show
blank screen when sddm update to 0.20.

* doc/guix.texi (X Window): update display-server doc of sddm-service-type.

Change-Id: I75354eb75f54263389e5839e152fb85d4351aece
---
 doc/guix.texi         |  4 ++--
 gnu/services/sddm.scm | 12 +++++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 04e33da1a9..5abdd84d24 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -23160,8 +23160,8 @@ The available fields are:
 The SDDM package to use.
 
 @item @code{display-server} (default: "x11")
-Select display server to use for the greeter.  Valid values are
-@samp{"x11"} or @samp{"wayland"}.
+Select display server to use for the greeter.  Valid value is
+@samp{"x11"}, currently do not support @samp{"x11-user"} and @samp{"wayland"}.
 
 @item @code{numlock} (default: "on")
 Valid values are @samp{"on"}, @samp{"off"} or @samp{"none"}.
diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm
index 48695e2806..a0859ccca5 100644
--- a/gnu/services/sddm.scm
+++ b/gnu/services/sddm.scm
@@ -45,8 +45,7 @@ (define-record-type* <sddm-configuration>
                           (default sddm))
 
   ;; [General]
-  ;; valid values are x11 and wayland
-  ;; currently doesn't do anything is enabled by wayland greeter PR
+  ;; valid values is x11, currently do not support x11-user and wayland.
   (display-server         sddm-configuration-display-server
                           (default "x11"))
   ;; valid values are on, off or none
@@ -117,7 +116,14 @@ (define-record-type* <sddm-configuration>
 (define (sddm-configuration-file config)
   (mixed-text-file "sddm.conf" "
 [General]
-DisplayServer="        (sddm-configuration-display-server config)              "
+DisplayServer="        (or "x11"
+                           ;; sddm-0.20 begin support x11-user and wayland
+                           ;; value, but sddm-service-type do not support them
+                           ;; at the moment, setting to x11-user and wayland
+                           ;; will let sddm show blank screen, update here
+                           ;; when sddm-service-type really support x11-user
+                           ;; and wayland.
+                           (sddm-configuration-display-server config))         "
 Numlock="              (sddm-configuration-numlock config)                     "
 HaltCommand="          (sddm-configuration-halt-command config)                "
 RebootCommand="        (sddm-configuration-reboot-command config)              "
-- 
2.39.2


-- 





This bug report was last modified 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.