[Fedora-spins] [spin-kickstarts] Move live install launcher from desktop to dash

Matthias Clasen mclasen at fedoraproject.org
Tue Mar 15 16:48:39 UTC 2011


commit 9f2b1803d12e625c596bf34a465d80c8a6e4b4e7
Author: Ray Strode <rstrode at redhat.com>
Date:   Tue Mar 15 09:35:01 2011 -0400

    Move live install launcher from desktop to dash
    
    Since we don't show the desktop anymore, it doesn't
    make sense to put the livecd installer there.  For
    now, put it as a favorite on the dash.

 fedora-live-desktop.ks |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks
index 859ff93..27d0723 100644
--- a/fedora-live-desktop.ks
+++ b/fedora-live-desktop.ks
@@ -26,6 +26,13 @@ cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.overrid
 [org.gnome.desktop.screensaver]
 lock-enabled=false
 FOE
+
+# Show harddisk install in shell dash
+sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
+cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
+[org.gnome.shell]
+favorite-apps=['mozilla-firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'openoffice.org-writer.desktop', 'nautilus.desktop', 'liveinst.desktop']
+FOE
 glib-compile-schemas /usr/share/glib-2.0/schemas
 
 # set up timed auto-login for after 60 seconds
@@ -35,13 +42,6 @@ AutomaticLoginEnable=true
 AutomaticLogin=liveuser
 FOE
 
-# Show harddisk install on the desktop
-sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
-mkdir /home/liveuser/Desktop
-cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
-chown -R liveuser.liveuser /home/liveuser/Desktop
-chmod a+x /home/liveuser/Desktop/liveinst.desktop
-
 # Turn off PackageKit-command-not-found while uninstalled
 sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
 


More information about the spins mailing list