Change between multiple monitor configs with keyboard
Is there a way to configure different xorg configurations and assign them to keyboard shortcuts.
I have a laptop and external monitor. I frequently move the laptop between rooms and have a tv in the other room.
Ideally, I would like to be able to press ctrl-shift-1 and be able to switch automatically to using the laptop monitor only. crtl-shift-2 would be external monitor only. ctrl-shift-3 would be using twinview with laptop and external monitor.
Currently I have to open nvidia-settings and change the monitor configuration and apply and accept the changes. Makes it a hastle when I run back to my room to grab my computer.
Does anyone have any thoughts on this?
HP Pavilion dv9740us with dual boot SATA XP and Ubuntu 10.10. 3G DDR2 RAM, Intel Core 2 Duo T5450 / 1.67 GHz, NVIDIA GeForce 8600M GS @ 512MB