From 7f1413575c86204921543b72234464efcba88b29 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 21 Aug 2012 21:55:14 -0500 Subject: Add a script that will start the session --- .bzrignore | 1 + Makefile.am | 15 +++++++++++++++ uccsconfigure-session.in | 5 +++++ 3 files changed, 21 insertions(+) create mode 100644 uccsconfigure-session.in 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 @@ -15,6 +15,21 @@ lightdm_session_DATA = \ 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 -- cgit v1.2.3