aboutsummaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-12-24 16:15:46 +0100
committer Eric Hameleers <alien@slackware.com>2023-12-24 16:15:46 +0100
commitd3630fe41245cd9604fe6bd643e2a341bf9cca6e (patch)
treefe11a56f87d3124a90442461bc9dbf8f7c3731f7 /make_slackware_live.sh
parentb5a56ad62ca42d31184887782ef2cb970994580e (diff)
downloadliveslak-d3630fe41245cd9604fe6bd643e2a341bf9cca6e.tar.gz
liveslak-d3630fe41245cd9604fe6bd643e2a341bf9cca6e.tar.xz
SDDM: sort-of document what may be needed to start it using Wayland
Currently not working and commented-out, but we'll figure it out.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 5f61a65..251b129 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -2732,6 +2732,19 @@ if [ "$OPENGL_VERSION" -lt 2 ]; then
fi
EOGL
+ fi
+
+ # Make Wayland instead of X11 the default for SDDM;
+ # leave commented-out for now:
+ mkdir -p ${LIVE_ROOTDIR}/etc/sddm.conf.d
+ cat << EOW > ${LIVE_ROOTDIR}/etc/sddm.conf.d/plasma-wayland.conf
+#[General]
+#DisplayServer=wayland
+#GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
+#
+#[Wayland]
+#CompositorCommand=kwin_wayland --drm --inputmethod qtvirtualkeyboard --no-global-shortcuts --no-lockscreen --locale1
+EOW
# Workaround a bug where SDDM does not always use the configured keymap:
echo "setxkbmap" >> ${LIVE_ROOTDIR}/usr/share/sddm/scripts/Xsetup