aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-21 21:55:14 -0500
committerTed Gould <ted@gould.cx>2012-08-21 21:55:14 -0500
commit7f1413575c86204921543b72234464efcba88b29 (patch)
treebe76aeef095afbd7cc4b472118f55322451dd1fd
parent3259be54400c65291b31bf42322d6e38721c9dbb (diff)
downloadlightdm-remote-session-remoteconfigure-7f1413575c86204921543b72234464efcba88b29.tar.gz
lightdm-remote-session-remoteconfigure-7f1413575c86204921543b72234464efcba88b29.tar.bz2
lightdm-remote-session-remoteconfigure-7f1413575c86204921543b72234464efcba88b29.zip
Add a script that will start the session
-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