aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uccsconfigure-session.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/uccsconfigure-session.in b/uccsconfigure-session.in
index 5186e69..51f7cce 100644
--- a/uccsconfigure-session.in
+++ b/uccsconfigure-session.in
@@ -4,5 +4,11 @@
mkdir -p ~/.config/autostart/
cp @pkgdatadir@/firefox-uccsconfigure.desktop ~/.config/autostart/
+# Set up the Unity environment
+export DESKTOP_SESSION="ubuntu"
+export GDMSESSION="ubuntu"
+export XDG_CURRENT_DESKTOP="Unity"
+export COMPIZ_CONFIG_PROFILE="ubuntu"
+
# Final thing is to run the standard Unity session
-gnome-session --session=ubuntu
+exec gnome-session --session=ubuntu