summaryrefslogtreecommitdiff
path: root/source/kde/post-install/kde-workspace.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/post-install/kde-workspace.post-install')
-rw-r--r--source/kde/post-install/kde-workspace.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/kde/post-install/kde-workspace.post-install b/source/kde/post-install/kde-workspace.post-install
index 69952c78..5cbabf50 100644
--- a/source/kde/post-install/kde-workspace.post-install
+++ b/source/kde/post-install/kde-workspace.post-install
@@ -15,6 +15,11 @@ if ! grep -q "SessionsDirs=/usr/share/xsessions" $PKG/usr/share/config/kdm/kdmrc
fi
rm $PKG/usr/share/apps/kdm/sessions/xfce*.desktop
+# Similarly, allow other login managers to show KDE Plasma desktop sessions:
+mkdir -p $PKG/usr/share/xsessions
+mv $PKG/usr/share/apps/kdm/sessions/kde-plasma*.desktop \
+ $PKG/usr/share/xsessions/
+
# Not allowing root to login at the console is just plain silly. If they
# have physical access to the machine, what's the point of trying to stop
# this? Even the kdmrc file says this is supposed to be the default.