summaryrefslogtreecommitdiff
path: root/desktop/ion/xinitrc.ion
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ion/xinitrc.ion')
-rw-r--r--desktop/ion/xinitrc.ion7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/ion/xinitrc.ion b/desktop/ion/xinitrc.ion
index 8fde6918aa..7c205b5d66 100644
--- a/desktop/ion/xinitrc.ion
+++ b/desktop/ion/xinitrc.ion
@@ -11,4 +11,9 @@ test -f $sysmodmap && xmodmap $sysmodmap
test -f $userresources && xrdb -merge $userresources
test -f $usermodmap && xmodmap $usermodmap
-exec ion3
+if [ -z $DESKTOP_SESSION ]; then
+ exec ck-launch-session ion3
+else
+ exec ion3
+fi
+