summaryrefslogtreecommitdiff
path: root/desktop/subtle/xinitrc.subtle
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2012-10-07 07:20:08 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-10-07 09:17:25 -0400
commit7bd3b03bf1a0e3a0f7162372c725618dd71b261c (patch)
tree1e2d6db86577bd2f1f7f72df12c3fef9f0b4138f /desktop/subtle/xinitrc.subtle
parent1f5cb51154253809765445c734507d84b550b325 (diff)
downloadslackbuilds-7bd3b03bf1a0e3a0f7162372c725618dd71b261c.tar.gz
desktop/subtle: Fix consolekit xinitrc, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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