diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-07-04 11:03:19 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-07-04 11:03:19 (GMT) |
commit | ef6aba68ad672d44811033eb2568db0c30ed9527 (patch) | |
tree | 853708ac250268ea430fa5c2847ce1f3933c8e61 /scripts | |
parent | bb0a4da2fe52275d18a15ffdcb14acee6807e602 (diff) |
Allow to run another instance inside sugar
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/xinitrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/xinitrc b/scripts/xinitrc index 466d4f0..1dca413 100644 --- a/scripts/xinitrc +++ b/scripts/xinitrc @@ -23,6 +23,12 @@ do fi done +if [ -z $SUGAR_SESSION ]; then + export SUGAR_SESSION=yes +else + export SUGAR_PROFILE=development +fi + JHBUILD="$ROOT_DIR/install/bin/jhbuild -f $ROOT_DIR/scripts/jhbuildrc" RUN_COMMAND="dbus-launch --exit-with-session sugar" |