From ad0b718d1f085dc4f42c6b597bd4d3ac1c09abce Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 25 Oct 2017 21:09:28 +0200 Subject: PLASMA5: support Wayland session in SDDM --- make_slackware_live.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 4518b7f..03e8fb9 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1687,8 +1687,11 @@ if [ "$LIVEDE" = "PLASMA5" ]; then rm -f ${LIVE_ROOTDIR}/usr/share/xsessions/openbox-session.desktop || true # Remove the buggy mediacenter session: rm -f ${LIVE_ROOTDIR}/usr/share/xsessions/plasma-mediacenter.desktop || true - # Remove the non-functional wayland session: - rm -f ${LIVE_ROOTDIR}/usr/share/wayland-sessions/plasmawayland.desktop || true + # Remove non-functional wayland session: + if [ ! -f ${LIVE_ROOTDIR}usr/lib${DIRSUFFIX}/qt5/bin/qtwaylandscanner ]; + then + rm -f ${LIVE_ROOTDIR}/usr/share/wayland-sessions/plasmawayland.desktop || true + fi # 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