3 source /etc
/acpi
/eee.conf
4 source /etc
/acpi
/eee
/user
&& x_user_func
6 if [ -n "`/usr/bin/xset -display :0.0 -q | grep -e ' Monitor is Off'`" ]
8 xset
-display :0.0 dpms force on ||
exit 1
12 if [ -n "`xrandr | grep 'VGA disconnected'`" ] ||
[ -n "`xrandr | grep 'VGA connected (normal'`" ]
14 if [ -n "`xrandr | grep 'current 1024 x 600'`" ]
16 xrandr
--output LVDS
--mode 800x600 ||
exit 1
18 xrandr
--output LVDS
--mode 1024x600 ||
exit 1
21 elif [ -n "`xrandr | grep 'LVDS connected (normal'`" ]
23 if [ -n "`xrandr | grep 'current 1024 x 768'`" ]
25 xrandr
--output VGA
--mode 800x600 ||
exit 1
27 xrandr
--output VGA
--mode 1024x768 ||
exit 1
30 if [ -n "`xrandr | grep 'current 1024 x 600'`" ]
32 xrandr
--output VGA
--mode 800x600
--output LVDS
--mode 800x600 ||
exit 1
34 xrandr
--output VGA
--mode 1024x600
--output LVDS
--mode 1024x600 ||
exit 1