- # take some packages that are okay to upgrade off hold
- echo xserver-xorg-video-geode install | (chroot ${ROOT_DIR} dpkg --set-selections)
- echo autox install | (chroot ${ROOT_DIR} dpkg --set-selections)
-
- # No longer a need for xorg.conf
- rm -f ${ROOT_DIR}/etc/X11/xorg.conf
-
- # key bindings/mappings
- if [ -d ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/ ]; then
- cp 30-keymap-olpc.fdi ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/
- fi
+ # Create an Xorg.conf that overrides the default DPI (x bug workaround).
+ cat >${ROOT_DIR}/etc/X11/xorg.conf<<EOF
+Section "Monitor"
+ Identifier "Monitor0"
+ DisplaySize 200 150
+EndSection
+
+Section "Screen"
+ Identifier "Default Screen"
+ Monitor "Monitor0"
+EndSection
+EOF