summarylogtreecommitdiffstats
path: root/desktop-autostart.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-autostart.patch')
-rw-r--r--desktop-autostart.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/desktop-autostart.patch b/desktop-autostart.patch
new file mode 100644
index 000000000000..d708a5f8b458
--- /dev/null
+++ b/desktop-autostart.patch
@@ -0,0 +1,19 @@
+diff -aur cuttlefish.orig/cuttlefish/PreferencesCuttlefishDialog.py cuttlefish/cuttlefish/PreferencesCuttlefishDialog.py
+--- cuttlefish.orig/cuttlefish/PreferencesCuttlefishDialog.py 2012-08-25 10:22:17.000000000 +0000
++++ cuttlefish/cuttlefish/PreferencesCuttlefishDialog.py 2012-10-06 12:44:08.988824119 +0000
+@@ -70,13 +70,13 @@
+ else:
+ self._autostart.add_section('Desktop Entry', )
+ self._autostart.set('Desktop Entry', 'Type', 'Application')
+- self._autostart.set('Desktop Entry', 'Exec', '/opt/extras.ubuntu.com/cuttlefish/bin/cuttlefish --hidden')
++ self._autostart.set('Desktop Entry', 'Exec', '/usr/bin/cuttlefish --hidden')
+ self._autostart.set('Desktop Entry', 'Hidden', 'false')
+ self._autostart.set('Desktop Entry', 'NoDisplay', 'false')
+ self._autostart.set('Desktop Entry', 'X-GNOME-Autostart-enabled', 'false')
+ self._autostart.set('Desktop Entry', 'Name', 'Cuttlefish')
+ self._autostart.set('Desktop Entry', 'Categories', 'GNOME;Utility;')
+- self._autostart.set('Desktop Entry', 'Icon', '/opt/extras.ubuntu.com/cuttlefish/share/cuttlefish/media/tentacle.svg')
++ self._autostart.set('Desktop Entry', 'Icon', '/usr/share/cuttlefish/media/tentacle.svg')
+ self._autostart.set('Desktop Entry', 'Comment', 'Cuttlefish Autostart Entry')
+
+ self.ui.togAutostart.set_active(self._autostart.getboolean('Desktop Entry', 'X-GNOME-Autostart-enabled'))