]> spindle.queued.net Git - xodist/blobdiff - configs/debxo-gnome/hooks
debxo: update kernel to 2.6.37-rc4+
[xodist] / configs / debxo-gnome / hooks
index c3eb6defe52cefa9dd21171e22b9ec91ba8dc397..a459cf7e1a9a5c4649918aa7e9da8dbde4aace9f 100644 (file)
@@ -61,7 +61,7 @@ EOF
 
        # install some custom packages that aren't on mirrors.  ugly hack!
        k="http://lunge.mit.edu/~dilinger/debxo-0.2/ofw-config_0.1_all.deb 
- http://lunge.mit.edu/~dilinger/debxo-0.6/linux-image-2.6.37-rc1+_2.6.37-rc1+-47_i386.deb"
+ http://lunge.mit.edu/~dilinger/debxo-0.6/linux-image-2.6.37-rc4+_2.6.37-rc4+-56_i386.deb"
        mkdir -p cache
        for i in $k; do
                pkg=$(basename ${i})
@@ -73,8 +73,18 @@ EOF
                rm -f ${ROOT_DIR}/${pkg}
        done
 
-       # No longer a need for xorg.conf
-       rm -f ${ROOT_DIR}/etc/X11/xorg.conf
+       # 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
 
        # configure gnome
        if [ -d ${ROOT_DIR}/etc/gconf/2 ]; then