summaryrefslogtreecommitdiffstats
path: root/kde/post-install/plasma-workspace.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'kde/post-install/plasma-workspace.post-install')
-rw-r--r--kde/post-install/plasma-workspace.post-install23
1 files changed, 5 insertions, 18 deletions
diff --git a/kde/post-install/plasma-workspace.post-install b/kde/post-install/plasma-workspace.post-install
index 17384b4..a2cff96 100644
--- a/kde/post-install/plasma-workspace.post-install
+++ b/kde/post-install/plasma-workspace.post-install
@@ -7,24 +7,11 @@ cat $CWD/post-install/plasma-workspace/xinit/xinitrc.plasma \
> $PKG/etc/X11/xinit/xinitrc.plasma
chmod 0755 $PKG/etc/X11/xinit/xinitrc.plasma
-## Fix a path in the startkde script:
-#sed -e 's,/opt/kd5/lib64/libexec/kf5/start_kdeinit_wrapper,/usr/lib64/libexec/kf5/start_kdeinit_wrapper,' -i $PKG/opt/kf5/bin/startkde
-
-# No longer needed, plasma-workspace includes its own file now:
-## Allow other login managers to show KDE Plasma2 desktop sessions:
-#mkdir -p $PKG/usr/share/xsessions
-#cat $CWD/post-install/plasma-workspace/xsession/kde5-plasma.desktop \
-# | sed -e "s,@PREFIX@,/usr,g" \
-# > $PKG/usr/share/xsessions/kde5-plasma.desktop
-#cat $CWD/post-install/plasma-workspace/xsession/kde5-plasma-safe.desktop \
-# | sed -e "s,@PREFIX@,/usr,g" \
-# > $PKG/usr/share/xsessions/kde5-plasma-safe.desktop
-#mkdir -p $PKG/usr/bin
-#cat $CWD/post-install/plasma-workspace/xsession/kde5init \
-# | sed -e "s,@PREFIX@,/usr,g" \
-# -e "s,@LIBDIRSUFFIX@,$LIBDIRSUFFIX,g" \
-# > $PKG/usr/bin/kde5init
-#chmod 755 $PKG/usr/bin/kde5init
+# Add a "fail-safe" version of KDE Plasma desktop session:
+mkdir -p $PKG/usr/share/xsessions
+cat $CWD/post-install/plasma-workspace/xsession/plasma-safe.desktop \
+ | sed -e "s,@PREFIX@,/usr,g" \
+ > $PKG/usr/share/xsessions/plasma-safe.desktop
# What is "plugins/plugins"?
mv $PKG/usr/lib64/qt5/plugins/{plugins,}/phonon_platform