summaryrefslogtreecommitdiffstats
path: root/kde/post-install/kde-workspace.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'kde/post-install/kde-workspace.post-install')
-rw-r--r--kde/post-install/kde-workspace.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/kde/post-install/kde-workspace.post-install b/kde/post-install/kde-workspace.post-install
index 69952c7..a22ef48 100644
--- a/kde/post-install/kde-workspace.post-install
+++ b/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.
@@ -44,3 +49,4 @@ mv $PKG/etc/kde/dbus-1 $PKG/etc/
# This is fubar:
rm -f $PKG/usr/share/icons/hicolor/index.theme
+