From bfe90ab5061ac8ec1fb37b846dbb6a9d2979b1ec Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 17 Oct 2014 17:32:26 +0100 Subject: [PATCH] SOAS: update from gconf to gsettings --- fedora-livecd-soas.ks | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks index 44f5d31..64f3ba6 100644 --- a/fedora-livecd-soas.ks +++ b/fedora-livecd-soas.ks @@ -76,13 +76,19 @@ sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.con sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf # Don't use the default system user (in SoaS liveuser) as nick name -gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /desktop/sugar/user/default_nick disabled >/dev/null - # Disable the logout menu item in Sugar -gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/show_logout false >/dev/null - # Enable Sugar power management -gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic True >/dev/null +cat >/usr/share/glib-2.0/schemas/sugar.soas.gschema.override <> /etc/rc.d/init.d/livesys << EOF # set up lightdm autologin