summaryrefslogtreecommitdiff
path: root/desktop/subtle/xinitrc.subtle
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/subtle/xinitrc.subtle')
-rw-r--r--desktop/subtle/xinitrc.subtle7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/subtle/xinitrc.subtle b/desktop/subtle/xinitrc.subtle
index f754e34c03..7857f652d8 100644
--- a/desktop/subtle/xinitrc.subtle
+++ b/desktop/subtle/xinitrc.subtle
@@ -12,5 +12,10 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap
-exec subtle
+# Start the window manager:
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session dbus-launch --exit-with-session subtle
+else
+ subtle
+fi