I'm running ubuntu 12.04 with an nvidia GPU on a Thinkpad W520. I have an external monitor at work, and one at home. Whenever I move, I have to manually launch the nvidia x server settings program, detect the displays, click ok, click quit... and it's getting a bit tedious by now. Is there any way to automate this? I've heard xrandr could do this, but can't find much info on google or the man page.