Change screensaver configuration

It uses gsettings now instead of gconf
This commit is contained in:
Ray Strode 2011-03-15 09:28:16 -04:00 committed by Matthias Clasen
parent 693aa30db2
commit f5983ccb6e

View File

@ -22,8 +22,11 @@ nss-mdns
%post %post
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 cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/gnome/lockdown/disable_lock_screen true >/dev/null [org.gnome.desktop.screensaver]
lock-enabled=false
FOE
glib-compile-schemas /usr/share/glib-2.0/schemas
# 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