From 9e0a083b22ca026258ecbe6c0619b647c333924c Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Feb 13 2023 18:41:40 +0000 Subject: livesys-kde: Drop logic for using X11 session in basic graphics We want to always use Plasma Wayland, regardless of graphics mode. --- diff --git a/libexec/livesys/sessions.d/livesys-kde b/libexec/livesys/sessions.d/livesys-kde index 7223a87..af90b86 100755 --- a/libexec/livesys/sessions.d/livesys-kde +++ b/libexec/livesys/sessions.d/livesys-kde @@ -5,22 +5,15 @@ # -# are we *not* able to use wayland sessions? -if strstr "`cat /proc/cmdline`" nomodeset ; then -PLASMA_SESSION_FILE="plasmax11.desktop" -else -PLASMA_SESSION_FILE="plasma.desktop" -fi - # set up autologin for user liveuser if [ -f /etc/sddm.conf ]; then sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf -sed -i "s/^#Session=.*/Session=${PLASMA_SESSION_FILE}/" /etc/sddm.conf +sed -i "s/^#Session=.*/Session=plasma.desktop/" /etc/sddm.conf else cat > /etc/sddm.conf << SDDM_EOF [Autologin] User=liveuser -Session=${PLASMA_SESSION_FILE} +Session=plasma.desktop SDDM_EOF fi