summaryrefslogtreecommitdiffstats
path: root/kde/post-install/sddm-qt5.post-install
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kde/post-install/sddm-qt5.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/kde/post-install/sddm-qt5.post-install b/kde/post-install/sddm-qt5.post-install
index 0bcecce..a99ec44 100644
--- a/kde/post-install/sddm-qt5.post-install
+++ b/kde/post-install/sddm-qt5.post-install
@@ -6,6 +6,15 @@ rm -rf $PKG/etc/pam.d
# Set the KDE5 theme 'breeze' as default, integrates better with Plasma 5:
sed -i -e "s/^CurrentTheme.*/CurrentTheme=breeze/" $PKG/etc/sddm.conf
+# SDDM follows the systemd convention of starting the first graphical session
+# on tty1. We prefer the old convention where tty1 through tty6
+# are reserved for text consoles:
+cat <<EOT >> $PKG//etc/sddm.conf
+
+[XDisplay]
+MinimumVT=7
+EOT
+
# Do not clobber existing configuration files:
mv $PKG/etc/sddm.conf{,.new}