1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-23 15:43:09 +00:00

Clean up desktop for the live user

This commit is contained in:
Matthias Clasen 2009-10-28 18:37:48 -04:00
parent 99982160e1
commit d2d0269d93

View File

@ -98,6 +98,7 @@ abrt-desktop
cat >> /etc/rc.d/init.d/livesys << EOF cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking # 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 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 # set up timed auto-login for after 60 seconds
cat >> /etc/gdm/custom.conf << FOE cat >> /etc/gdm/custom.conf << FOE
[daemon] [daemon]
@ -113,6 +114,10 @@ cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
chown -R liveuser.liveuser /home/liveuser/Desktop chown -R liveuser.liveuser /home/liveuser/Desktop
chmod a+x /home/liveuser/Desktop/liveinst.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 EOF
%end %end