summaryrefslogtreecommitdiffstats
path: root/kde/post-install
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-10-12 00:16:28 +0200
committer Eric Hameleers <alien@slackware.com>2015-10-12 00:16:28 +0200
commit958bd56229542f34ff2d3a12fa33dded7eefab8b (patch)
tree17e79528c596268aa5f2bf796339f82be22c40fb /kde/post-install
parent3ef8e2da0b2eb774642047b2e08747302b3ffbfd (diff)
downloadktown-958bd56229542f34ff2d3a12fa33dded7eefab8b.tar.gz
ktown-958bd56229542f34ff2d3a12fa33dded7eefab8b.tar.xz
Fix the progress bar on session startup.
Use an additional "dbus-launch --sh-syntax --exit-with-session" to exec the startkde script.
Diffstat (limited to 'kde/post-install')
-rw-r--r--kde/post-install/plasma-workspace/xinit/xinitrc.plasma17
1 files changed, 2 insertions, 15 deletions
diff --git a/kde/post-install/plasma-workspace/xinit/xinitrc.plasma b/kde/post-install/plasma-workspace/xinit/xinitrc.plasma
index 390020e..ff3c8a1 100644
--- a/kde/post-install/plasma-workspace/xinit/xinitrc.plasma
+++ b/kde/post-install/plasma-workspace/xinit/xinitrc.plasma
@@ -24,22 +24,9 @@ if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
-## KDE Frameworks 5 plus Plasma Next:
-#export KF5=/opt/kf5
-#export PATH=$KF5/bin:$KF5/lib@LIBDIRSUFFIX@/qt5/bin:$PATH
-#export QML2_IMPORT_PATH=$KF5/lib@LIBDIRSUFFIX@/qt5/qml:/usr/lib@LIBDIRSUFFIX@/qt5/qml
-#export QT_PLUGIN_PATH=$KF5/lib@LIBDIRSUFFIX@/qt5/plugins:/usr/lib@LIBDIRSUFFIX@/qt5/plugins
-#export XDG_CONFIG_DIRS=$KF5/etc/xdg:/etc/xdg:/etc/kde/xdg
-#export XDG_DATA_DIRS=$KF5/share:/usr/share:/usr/local/share
-
-#export XDG_DATA_HOME="$HOME/.local5"
-#export XDG_CONFIG_HOME="$HOME/.config5"
-#export XDG_CACHE_HOME="$HOME/.cache5"
-#export KDEHOME="$HOME/.kde5"
-
# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
- ck-launch-session startkde
+ ck-launch-session dbus-launch --sh-syntax --exit-with-session startkde
else
- startkde
+ dbus-launch --sh-syntax --exit-with-session startkde
fi