diff options
author | Eric Hameleers <alien@slackware.com> | 2015-10-12 00:11:17 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-10-12 00:11:17 +0200 |
commit | 3ef8e2da0b2eb774642047b2e08747302b3ffbfd (patch) | |
tree | 43cf75b5b46e4b23d13302a0218b126de12c2c83 /kde/post-install/plasma-workspace.post-install | |
parent | 25b2a956587541b0208692c4a2b6ee9a351e219f (diff) | |
download | ktown-3ef8e2da0b2eb774642047b2e08747302b3ffbfd.tar.gz ktown-3ef8e2da0b2eb774642047b2e08747302b3ffbfd.tar.xz |
kde/plasma/plasma-workspace: provide a "failsafe" option for Plasma.
Diffstat (limited to 'kde/post-install/plasma-workspace.post-install')
-rw-r--r-- | kde/post-install/plasma-workspace.post-install | 23 |
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 |