civodul pushed a commit to branch master
in repository guix.
commit 51bc8357e8457d5d7168d8837da6e14fa2d98485
Author: Timothy Sample <[email protected]>
Date: Mon Oct 23 21:36:15 2017 -0400
gnu: gdm: Add configure flags for better defaults.
* gnu/packages/gnome.scm (gdm)[arguments]<#:configure-flags>: Add
--with-initial-vt=7 and --enable-gdm-xsession.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/gnome.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 35c40f2..1584943 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5218,6 +5218,16 @@ libxml2.")
'(#:configure-flags
`("--without-plymouth"
"--disable-systemd-journal"
+
+ ;; Using --with-initial-vt=7 allows GDM to run alongside TTY 1,
+ ;; instead of having to replace it (i.e., stopping the mingetty
+ ;; service for TTY 1 before starting GDM).
+ "--with-initial-vt=7"
+
+ ;; By default, GDM expects distributions to install a custom Xsession
+ ;; script. It provides a generic one if --enable-gdm-xsession is set.
+ "--enable-gdm-xsession"
+
"--localstatedir=/var"
,(string-append "--with-default-path="
(string-join '("/run/setuid-programs"