]> spindle.queued.net Git - xodist/commitdiff
provide some sane font sizes (and a nice background) for gnome
authorAndres Salomon <dilinger@debian.org>
Wed, 20 Aug 2008 04:16:43 +0000 (00:16 -0400)
committerAndres Salomon <dilinger@debian.org>
Wed, 20 Aug 2008 04:16:43 +0000 (00:16 -0400)
Signed-off-by: Andres Salomon <dilinger@debian.org>
%gconf-tree.xml [new file with mode: 0644]
initchroot.sh

diff --git a/%gconf-tree.xml b/%gconf-tree.xml
new file mode 100644 (file)
index 0000000..03c6341
--- /dev/null
@@ -0,0 +1,39 @@
+<?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>
index 5ff695cf22f0e9a82b3a971b0851cee7eacd268e..bed450a73127f2dfd3cb84678f93ec8a70a6a336 100755 (executable)
@@ -120,6 +120,15 @@ Section "Screen"
 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)