From 86abf5e435261720ad15bdf57c6fdea304416b40 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 20 Dec 2010 20:54:24 -0600 Subject: desktop/ratpoison: Poke consolekit in xinitrc Signed-off-by: Robby Workman --- desktop/ratpoison/xinitrc.ratpoison | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'desktop/ratpoison/xinitrc.ratpoison') diff --git a/desktop/ratpoison/xinitrc.ratpoison b/desktop/ratpoison/xinitrc.ratpoison index 4f0406439e..da0c3726d7 100644 --- a/desktop/ratpoison/xinitrc.ratpoison +++ b/desktop/ratpoison/xinitrc.ratpoison @@ -12,5 +12,9 @@ sysmodmap=/etc/X11/xinit/.Xmodmap [ -f $userresources ] && xrdb -merge $userresources [ -f $usermodmap ] && xmodmap $usermodmap -exec ratpoison +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + exec ck-launch-session ratpoison +else + exec ratpoison +fi -- cgit v1.2.3