summaryrefslogtreecommitdiffstats
path: root/desktop/ion/xinitrc.ion
diff options
context:
space:
mode:
author Jorge Gajon2010-06-15 10:03:27 +0200
committer Robby Workman2010-06-15 10:03:27 +0200
commit906ce0e3ee58d4c924738f6970ce088042929875 (patch)
tree0287e849c1f44f088a1551090744913a1b35fc02 /desktop/ion/xinitrc.ion
parent520165f91336269e30ddee36c6f2adf6bcea67b0 (diff)
downloadslackbuilds-906ce0e3ee58d4c924738f6970ce088042929875.tar.gz
desktop/ion: Miscellaneous script cleanup.
This commit changes the download link, documents the reason(s) for that in README, modifies the xinitrc script to start with ck-launch-session if needed, and adds an xsession file for gui login managers. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/ion/xinitrc.ion')
-rw-r--r--desktop/ion/xinitrc.ion7
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/ion/xinitrc.ion b/desktop/ion/xinitrc.ion
index 8fde6918aa..7c205b5d66 100644
--- a/desktop/ion/xinitrc.ion
+++ b/desktop/ion/xinitrc.ion
@@ -11,4 +11,9 @@ test -f $sysmodmap && xmodmap $sysmodmap
test -f $userresources && xrdb -merge $userresources
test -f $usermodmap && xmodmap $usermodmap
-exec ion3
+if [ -z $DESKTOP_SESSION ]; then
+ exec ck-launch-session ion3
+else
+ exec ion3
+fi
+