summaryrefslogtreecommitdiff
path: root/desktop/afterstep/xinitrc.afterstep
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-20 21:27:55 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-20 21:27:55 -0600
commit6a74bc526f160c074acaa3e2406fbfe032e59371 (patch)
treee025810262316fc9b733d5bd2cdb1c31091b7fbe /desktop/afterstep/xinitrc.afterstep
parentd23cc355957ce564c42def07e7deb6cd39c70301 (diff)
downloadslackbuilds-6a74bc526f160c074acaa3e2406fbfe032e59371.tar.gz
desktop/afterstep: Poke consolekit in xinitrc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/afterstep/xinitrc.afterstep')
-rw-r--r--desktop/afterstep/xinitrc.afterstep6
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