summaryrefslogtreecommitdiffstats
path: root/fedora-livecd-desktop.ks
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-10-28 18:37:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-10-28 18:37:48 -0400
commitd2d0269d93fd78ffddfe9553218b02279f3576fc (patch)
tree4cdee67909c2d95032bf77e3ffb0b93abcba44d0 /fedora-livecd-desktop.ks
parent99982160e13e41ccc5e857e1b7f299545929d135 (diff)
downloadspin-kickstarts-d2d0269d93fd78ffddfe9553218b02279f3576fc.tar.gz
spin-kickstarts-d2d0269d93fd78ffddfe9553218b02279f3576fc.tar.xz
spin-kickstarts-d2d0269d93fd78ffddfe9553218b02279f3576fc.zip
Clean up desktop for the live user
Diffstat (limited to 'fedora-livecd-desktop.ks')
-rw-r--r--fedora-livecd-desktop.ks5
1 files changed, 5 insertions, 0 deletions
diff --git a/fedora-livecd-desktop.ks b/fedora-livecd-desktop.ks
index 6952870..ad9f15a 100644
--- a/fedora-livecd-desktop.ks
+++ b/fedora-livecd-desktop.ks
@@ -98,6 +98,7 @@ abrt-desktop
cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
+
# set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE
[daemon]
@@ -113,6 +114,10 @@ cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
chown -R liveuser.liveuser /home/liveuser/Desktop
chmod a+x /home/liveuser/Desktop/liveinst.desktop
+# But not trash and home
+gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/nautilus/desktop/trash_icon_visible false >/dev/null
+gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/nautilus/desktop/home_icon_visible false >/dev/null
+
EOF
%end