diff options
Diffstat (limited to '')
-rw-r--r-- | kde/post-install/plasma-workspace/scripts/startkwayland | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kde/post-install/plasma-workspace/scripts/startkwayland b/kde/post-install/plasma-workspace/scripts/startkwayland index 506e276..7ca8a0a 100644 --- a/kde/post-install/plasma-workspace/scripts/startkwayland +++ b/kde/post-install/plasma-workspace/scripts/startkwayland @@ -1,4 +1,9 @@ #!/bin/sh # Start KWin as a Plasma 5 Wayland session -ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/startplasmacompositor +# Choose correct options depending on whether PAM is installed: +if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then + dbus-launch --sh-syntax --exit-with-session /usr/bin/startplasma-wayland +else + ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/startplasma-wayland +fi |