[Fedora-spins] [spin-kickstarts] update sugar

Peter Robinson pbrobinson at fedoraproject.org
Thu Sep 5 22:18:25 UTC 2013


commit c9fa0ffb821dc8b37ab2c630b3a1a456b6577f7e
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Thu Sep 5 23:18:04 2013 +0100

    update sugar

 fedora-livecd-soas.ks |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks
index a65de4e..61faa07 100644
--- a/fedora-livecd-soas.ks
+++ b/fedora-livecd-soas.ks
@@ -83,6 +83,16 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults
 # 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 >> /etc/rc.d/init.d/livesys << EOF
+# set up lightdm autologin
+sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
+sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
+#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
+
+# set Sugar as default session, otherwise login will fail
+sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
+EOF
+
 cat >> /etc/rc.d/init.d/livesys-late << EOF
 
 # disable screensaver locking


More information about the spins mailing list