diff options
-rw-r--r-- | modules/sugar/kspost.50.gconf.inc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/sugar/kspost.50.gconf.inc b/modules/sugar/kspost.50.gconf.inc index 1182331..ac9a53b 100644 --- a/modules/sugar/kspost.50.gconf.inc +++ b/modules/sugar/kspost.50.gconf.inc @@ -7,14 +7,9 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults # set sugar power management off gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /desktop/sugar/power/automatic false -# This is a horrible hack to stop ohm at the first time -cat >/home/olpc/.gconf/desktop/sugar/power/%gconf.xml <<EOF -<?xml version="1.0"?> -<gconf> - <entry name="automatic" mtime="1269435951" type="bool" value="false"/> -</gconf> -EOF -chown olpc:olpc /home/olpc/.gconf/desktop/sugar/power/%gconf.xml +# set sugar power management off also where ohmd will actually look for it +gconftool-2 --direct --config-source xml:readwrite:/home/olpc/.gconf -s -t bool /desktop/sugar/power/automatic false +chown -R olpc:olpc /home/olpc/.gconf # set empty jabber server so that no gabble connection is attempted by default gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/sugar/collaboration/jabber_server '' |