aboutsummaryrefslogtreecommitdiff
path: root/desktop/afterstep/xinitrc.afterstep
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/afterstep/xinitrc.afterstep')
-rw-r--r--desktop/afterstep/xinitrc.afterstep6
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/afterstep/xinitrc.afterstep b/desktop/afterstep/xinitrc.afterstep
index 009f5b89d471b..3b45c51b4a5ba 100644
--- a/desktop/afterstep/xinitrc.afterstep
+++ b/desktop/afterstep/xinitrc.afterstep
@@ -12,5 +12,9 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $usermodmap ] && xmodmap $usermodmap
# Start the window manager:
-exec /usr/bin/afterstep
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session /usr/bin/afterstep
+else
+ exec /usr/bin/afterstep
+fi