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.
This commit is contained in:
Ray Strode 2011-03-15 09:35:01 -04:00 committed by Matthias Clasen
parent f5983ccb6e
commit 9f2b1803d1
1 changed files with 7 additions and 7 deletions

View File

@ -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