On Dec 6, 2008, at 10:32 PM, Amit Uttamchandani wrote:
On Sun, 7 Dec 2008 01:14:45 -0500
Jeremy Jay <[EMAIL PROTECTED]> wrote:
If you are using a recent version of xorg, and don't have your screen
resolution hardcoded in xorg.conf, it should be autodetected. For
example, the last time I had to do a presentation, I plugged in the
projector, restarted X, and it auto-detected the right resolution to
use.
Jeremy
Yeah I think its quite recent. I'm using debian lenny and xorg 7.3 and
xserver-xorg-core 1.4.2.
I will try what you said and restart xserver...And how does dwm behave
in this case? does it just mirror the screen?
BTW, restarting X is not necessary: the *whole purpose* of Xrandr is
to avoid doing this. Just plug in your external display and run
"xrandr --output VGA --auto" or whatever your external display is
called. dwm is already set up to receive configure events, and will
do The Right Thing.