--- /dev/null
+<?xml version="1.0"?>
+<gconf>
+ <dir name="desktop">
+ <dir name="gnome">
+ <dir name="background">
+ <entry name="picture_filename" type="string">
+ <stringvalue>/usr/share/pixmaps/backgrounds/gnome/nature/FreshFlower.jpg</stringvalue>
+ </entry>
+ </dir>
+ <dir name="interface">
+ <entry name="monospace_font_name" type="string">
+ <stringvalue>Monospace 6</stringvalue>
+ </entry>
+ <entry name="document_font_name" type="string">
+ <stringvalue>Sans 6</stringvalue>
+ </entry>
+ <entry name="font_name" type="string">
+ <stringvalue>Sans 6</stringvalue>
+ </entry>
+ </dir>
+ </dir>
+ </dir>
+ <dir name="apps">
+ <dir name="metacity">
+ <dir name="general">
+ <entry name="titlebar_font" type="string">
+ <stringvalue>Sans Bold 6</stringvalue>
+ </entry>
+ </dir>
+ </dir>
+ <dir name="nautilus">
+ <dir name="preferences">
+ <entry name="desktop_font" type="string">
+ <stringvalue>Sans 6</stringvalue>
+ </entry>
+ </dir>
+ </dir>
+ </dir>
+</gconf>
EndSection
EOF
+# configure gdm, gnome
+sed -i 's_\[daemon\]_\[daemon\]\n\nGreeter=/usr/lib/gdm/gdmlogin\n\nAutomaticLoginEnable=true\n\nAutomaticLogin=olpc_' ${ROOT_DIR}/etc/gdm/gdm.conf
+cat >${ROOT_DIR}/etc/gconf/2/local-defaults.path<<EOF
+# DebXO defaults (customized for the XO-1's display
+xml:readonly:/etc/gconf/debxo.xml.defaults
+EOF
+mkdir -p ${ROOT_DIR}/etc/gconf/debxo.xml.defaults
+cp %gconf-tree.xml ${ROOT_DIR}/etc/gconf/debxo.xml.defaults/
+
# add default user
rm -rf ${ROOT_DIR}/home/*; # i have no idea what's adding this crap...
(chroot ${ROOT_DIR} passwd -l root)