summaryrefslogtreecommitdiff
path: root/source/xap/fluxbox/xinitrc.fluxbox
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/fluxbox/xinitrc.fluxbox')
-rw-r--r--source/xap/fluxbox/xinitrc.fluxbox6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/xap/fluxbox/xinitrc.fluxbox b/source/xap/fluxbox/xinitrc.fluxbox
index 593875db..62e425b3 100644
--- a/source/xap/fluxbox/xinitrc.fluxbox
+++ b/source/xap/fluxbox/xinitrc.fluxbox
@@ -25,4 +25,8 @@ if [ -f $usermodmap ]; then
fi
# Start the window manager:
-exec /usr/bin/startfluxbox
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session /usr/bin/startfluxbox
+else
+ exec /usr/bin/startfluxbox
+fi