summaryrefslogtreecommitdiff
path: root/source/xap/fvwm/xinitrc.fvwm2
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/fvwm/xinitrc.fvwm2')
-rw-r--r--source/xap/fvwm/xinitrc.fvwm27
1 files changed, 6 insertions, 1 deletions
diff --git a/source/xap/fvwm/xinitrc.fvwm2 b/source/xap/fvwm/xinitrc.fvwm2
index 955629fc..788a4e43 100644
--- a/source/xap/fvwm/xinitrc.fvwm2
+++ b/source/xap/fvwm/xinitrc.fvwm2
@@ -27,4 +27,9 @@ fi
# start some nice programs
xsetroot -solid SteelBlue
-fvwm2
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ ck-launch-session fvwm2
+else
+ fvwm2
+fi
+