Clean up desktop for the live user
This commit is contained in:
parent
99982160e1
commit
d2d0269d93
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user