aboutsummaryrefslogtreecommitdiff
path: root/remoteconfigure-session.in
diff options
context:
space:
mode:
Diffstat (limited to 'remoteconfigure-session.in')
-rw-r--r--remoteconfigure-session.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/remoteconfigure-session.in b/remoteconfigure-session.in
new file mode 100644
index 0000000..b74bf9b
--- /dev/null
+++ b/remoteconfigure-session.in
@@ -0,0 +1,23 @@
+#!/bin/bash
+# Copyright © 2012 Canonical Ltd.
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranties of
+# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Ted Gould <ted@canonical.com>
+
+# Set up a Firefox autostart
+mkdir -p ~/.config/autostart/
+cp @pkgdatadir@/firefox-remoteconfigure.desktop ~/.config/autostart/
+
+# Final thing is to run a minimal desktop session
+exec openbox