aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore1
-rw-r--r--Makefile.am15
-rw-r--r--uccsconfigure-session.in5
3 files changed, 21 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 86bdd7b..117bf99 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -1 +1,2 @@
uccsconfigure.desktop
+uccsconfigure-session
diff --git a/Makefile.am b/Makefile.am
index 9e0e749..d1882ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,6 +16,21 @@ EXTRA_DIST += uccsconfigure.desktop.in
CLEANFILES += uccsconfigure.desktop
###############################
+# The session script
+###############################
+
+session_startdir = $(pkglibexecdir)
+session_start_SCRIPTS = \
+ uccsconfigure-session
+
+uccsconfigure-session: uccsconfigure-session.in
+ @sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+ @chmod +x $@
+
+EXTRA_DIST += uccsconfigure-session.in
+CLEANFILES += uccsconfigure-session
+
+###############################
# Dist check stuff
###############################
diff --git a/uccsconfigure-session.in b/uccsconfigure-session.in
new file mode 100644
index 0000000..2f31d59
--- /dev/null
+++ b/uccsconfigure-session.in
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+
+# Final thing is to run the standard Unity session
+gnome-session --session=ubuntu