[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 092bc8eacb60713788cd353e1bf13d0a7ef5000a

Ben Armstrong synrg at debian.org
Mon Feb 2 14:00:52 UTC 2009


The following commit has been merged in the master branch:
commit eb2771ba26b3dfce04c5d7549935f4a90a32b805
Author: Ben Armstrong <synrg at debian.org>
Date:   Mon Feb 2 09:55:53 2009 -0400

    Make re-enabling LVDS-only the default case for VGA toggle

diff --git a/etc/acpi/actions/vga-toggle.sh b/etc/acpi/actions/vga-toggle.sh
index 86c52ff..70e0249 100755
--- a/etc/acpi/actions/vga-toggle.sh
+++ b/etc/acpi/actions/vga-toggle.sh
@@ -29,10 +29,10 @@ detect_x_display
 getvga_status;
 # handle return value
 case $? in
-    2)
-        xrandr --output VGA --off --output LVDS --auto
+    1)
+        xrandr --output VGA ${VGA_ON:---auto} --output LVDS ${LVDS_OFF:---off}
         ;;
     *)
-        xrandr --output VGA ${VGA_ON:---auto} --output LVDS ${LVDS_OFF:---off}
+        xrandr --output VGA --off --output LVDS --auto
 esac
 

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list