From d3630fe41245cd9604fe6bd643e2a341bf9cca6e Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 24 Dec 2023 16:15:46 +0100 Subject: 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. --- make_slackware_live.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'make_slackware_live.sh') 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 -- cgit v1.2.3