summaryrefslogtreecommitdiff
path: root/system/plan9port/xinitrc.rio
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-20 20:53:53 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-20 20:53:53 -0600
commitf079753e6d81da269e371173d7c1c69f4ad1fc88 (patch)
tree9605ef84aeedfb5b798db3fc23883eab9502b383 /system/plan9port/xinitrc.rio
parente7f1bae337eb692042f5488c4d5977884cd5862c (diff)
downloadslackbuilds-f079753e6d81da269e371173d7c1c69f4ad1fc88.tar.gz
system/plan9port: Misc fixes; poke consolekit in xinitrc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/plan9port/xinitrc.rio')
-rw-r--r--system/plan9port/xinitrc.rio6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/plan9port/xinitrc.rio b/system/plan9port/xinitrc.rio
index 5fa29b3f38..e4dfba95a3 100644
--- a/system/plan9port/xinitrc.rio
+++ b/system/plan9port/xinitrc.rio
@@ -12,4 +12,8 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $usermodmap ] && xmodmap $usermodmap
# Start the window manager:
-exec rio
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session rio
+else
+ exec rio
+fi