diff options
Diffstat (limited to 'desktop/afterstep/xinitrc.afterstep')
-rw-r--r-- | desktop/afterstep/xinitrc.afterstep | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/afterstep/xinitrc.afterstep b/desktop/afterstep/xinitrc.afterstep index 009f5b89d4..3b45c51b4a 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 |