diff options
author | Ted Gould <ted@gould.cx> | 2012-08-21 21:55:14 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-08-21 21:55:14 -0500 |
commit | 7f1413575c86204921543b72234464efcba88b29 (patch) | |
tree | be76aeef095afbd7cc4b472118f55322451dd1fd | |
parent | 3259be54400c65291b31bf42322d6e38721c9dbb (diff) | |
download | lightdm-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-- | .bzrignore | 1 | ||||
-rw-r--r-- | Makefile.am | 15 | ||||
-rw-r--r-- | uccsconfigure-session.in | 5 |
3 files changed, 21 insertions, 0 deletions
@@ -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 |