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