From 531f186f7cd1ff7b44867225a1fb515b17ebf96e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:41:28 +0100 Subject: [PATCH] sddm.conf: also configure Session for autologin to work [release 0.18.0-3mamba;Sun Sep 09 2018] --- sddm.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sddm.spec b/sddm.spec index f766529..274a281 100644 --- a/sddm.spec +++ b/sddm.spec @@ -2,7 +2,7 @@ %define group_sddm 68 Name: sddm Version: 0.18.0 -Release: 2mamba +Release: 3mamba Summary: QML based X11 and Wayland display manager Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -76,11 +76,14 @@ useradd -u %{user_sddm} -g sddm \ if [ $1 -ge 1 ]; then [ -e /etc/sddm.conf.rpmsave ] && { eval `grep ^User= /etc/sddm.conf.rpmsave` - } + eval `grep ^Session= /etc/sddm.conf.rpmsave` + } + [ "${Session}" ] || Session="plasma" [ -e /etc/sddm.conf ] || { cat > /etc/sddm.conf << _EOF [Autologin] User=${User} +Session=${Session} _EOF } if [ -e /opt/kde/share/config/kdm/kdmrc -a ! "${User}" ]; then @@ -128,6 +131,9 @@ fi %doc LICENSE %changelog +* Sun Sep 09 2018 Silvan Calarco 0.18.0-3mamba +- sddm.conf: also configure Session for autologin to work + * Wed Sep 05 2018 Silvan Calarco 0.18.0-2mamba - reconfigure autologin user after upgrade