4

what am I missing with xrandr???

view full story
linux-howto

http://crunchbanglinux.org – hi there,I am using #! for about two weeks now and this is my first non-introducing-myself post. I must say that I already love this distro and the way everything has to be set-up. :DI have an external VGA monitor which I want to be the only one active when the laptop is docked, and I am trying to do it automatically at login (as gnome-display-manager was doing with gnome) with such a script:#!/bin/bash xrandr --output LVDS --mode 1280x800 && xrandr --output LVDS --primary MODE=`xrandr | grep "VGA-0 connected" -c` if [ "$MODE" == '1' ] then # externa (HowTos)