I have a Ubuntu machine next to my TV. Sometimes I use my TV (hdmi) as a secondary monitor, twinview.
Using the "NVidia X Server Setting", nvidia-settings, I can turn the second monitor (TV) on or off. (NVidia driver version is 260.19.06)
However, since I do this quite frequently I would like to install a keyboard shortcut. So step one is to turn on/off the 2nd monitor using command line.
Any idea on how to control this, using command line?