aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-21 23:04:34 -0500
committerTed Gould <ted@gould.cx>2012-08-21 23:04:34 -0500
commit75cfac7c38a3b19c3d38032d0e13caf466e693f1 (patch)
tree1e969ec3989406be5d665b1c5b6493669dd745b0
parentedf87e21e12166ec64a8bdbb24e715e61f8faa12 (diff)
downloadlightdm-remote-session-remoteconfigure-75cfac7c38a3b19c3d38032d0e13caf466e693f1.tar.gz
lightdm-remote-session-remoteconfigure-75cfac7c38a3b19c3d38032d0e13caf466e693f1.tar.bz2
lightdm-remote-session-remoteconfigure-75cfac7c38a3b19c3d38032d0e13caf466e693f1.zip
Export like we're the Unity session
-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