summaryrefslogtreecommitdiffstats
path: root/kde/post-install
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-02-23 13:42:38 +0100
committer Eric Hameleers <alien@slackware.com>2020-02-23 13:42:38 +0100
commit53f579a46dcb5981d7ba0ba6ebb51ebaefde1203 (patch)
tree523ac54aec5387af4242c0af3c577ff2bba92a6a /kde/post-install
parent2018a5e240632d30ffa0f3372fb87ec02ab0e9cd (diff)
downloadktown-53f579a46dcb5981d7ba0ba6ebb51ebaefde1203.tar.gz
ktown-53f579a46dcb5981d7ba0ba6ebb51ebaefde1203.tar.xz
Rebuild packages to pick up Wayland
kwayland, plasma-framework in frameworks kdeconnect-framework in plasma-extra And I refreshed all of the Plasma packages.
Diffstat (limited to 'kde/post-install')
-rw-r--r--kde/post-install/plasma-workspace/scripts/startkwayland7
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