]> spindle.queued.net Git - xodist/blobdiff - configs/debxo-awesome/hooks
debxo: s/mit.edu/queued.net/
[xodist] / configs / debxo-awesome / hooks
index c207995d8bf58278788b24e18bce527ce846c500..b6ba67f73a6dac9f87b2ec147ec7247c5dec6838 100644 (file)
@@ -59,8 +59,8 @@ ubi mtd=root
 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"
+       k="http://lunge.queued.net/~dilinger/debxo-0.2/ofw-config_0.1_all.deb 
+ http://lunge.queued.net/~dilinger/debxo-0.6/linux-image-2.6.37-rc1+_2.6.37-rc1+-47_i386.deb"
        mkdir -p cache
        for i in $k; do
                pkg=$(basename ${i})
@@ -72,8 +72,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 nodm
        F=${ROOT_DIR}/etc/default/nodm