[Debian-eeepc-devel] Fw: modification to eeepc-acpi-scripts

Ben Armstrong synrg at sanctuary.nslug.ns.ca
Mon Apr 21 18:09:55 UTC 2008


Begin forwarded message:

Date: Mon, 21 Apr 2008 15:06:02 +0100
From: Guy Coates <gmpc at sanger.ac.uk>
To: synrg at sanctuary.nslug.ns.ca
Subject: modification to eeepc-acpi-scripts


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

First off, just like to say "great job" on the debian/eeepc stuff. The
custom installer put debian on my new eee pc like a dream!


I've made a modification to the vga-toggle.sh script. It changes the
behaviour so that the display switches between the internal display only
and the external display at maximum  resolution. I find this useful for
presentations.  I thought someone else might find it useful.

Cheers,

Guy


- --- vga-toggle.sh.orig  2008-03-08 21:26:20.000000000 +0000
+++ vga-toggle.sh       2008-04-21 14:58:17.000000000 +0100
@@ -24,10 +24,18 @@
 getvga_status;
 # handle return value
 case $? in
+    0)
+        xrandr --output VGA --off
+        xrandr --output LVDS --auto
+        ;;
+    1)
+        xrandr --output LVDS --off
+        xrandr --output VGA --auto
+       ;;
     2)
         xrandr --output VGA --off
+        xrandr --output LVDS --auto
         ;;
- -    *)
- -        xrandr --output VGA $COMBINED_DISPLAY_SWITCHES
+
 esac


- --
Dr. Guy Coates,  Informatics System Group
The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1HH, UK
Tel: +44 (0)1223 834244 x 6925
Fax: +44 (0)1223 496802
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDJ9K6xrGWc+PZe4RAru9AKCYCbiz8W+riZg05KtGLkVLO0WnSQCfbRuO
T2RqmcflV6yCrBeqE1+ybIY=
=9OVw
-----END PGP SIGNATURE-----


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



More information about the Debian-eeepc-devel mailing list