From a8a413869035fdf596c8033ee8de5f88a5444306 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 22 Aug 2016 13:30:43 +0200 Subject: Remove the confusing Openbox entry from xsessions menu if present. --- make_slackware_live.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index cddb699..d196e7d 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1496,8 +1496,10 @@ if [ "$LIVEDE" = "PLASMA5" ]; then echo "-- Configuring PLASMA5." # -------------------------------------------------------------------------- # + # Remove the confusing openbox session if present: + rm -f ${LIVE_ROOTDIR}/usr/share/xsessions/openbox-session.desktop || true # Remove the buggy mediacenter session: - rm ${LIVE_ROOTDIR}/usr/share/xsessions/plasma-mediacenter.desktop || true + rm -f ${LIVE_ROOTDIR}/usr/share/xsessions/plasma-mediacenter.desktop || true # Set sane SDDM defaults on first boot (root-owned file): mkdir -p ${LIVE_ROOTDIR}/var/lib/sddm cat < ${LIVE_ROOTDIR}/var/lib/sddm/state.conf -- cgit v1.2.3