Automatic dynamic multi-monitor setup

view story

https://bbs.archlinux.org – Hi all.  I was wondering if there is any way to automatically extend my display using xorg or xrandr based on whether a monitor is plugged in or not.  The use case is as follows:  I have a laptop and monitor, but I don't always have my laptop plugged into my monitor.  I want to extend the display when its plugged in, but fallback to only the laptop's screen when it's not, without hotkeys.  Is there any way to do this? toaster2 https://bbs.archlinux.org/profile.php?id=53425 2012-08-20T03:06:27Z (HowTos)