Disabling laptop monitor when external HDMI monitor is plugged in
I can connect my Ubuntu 12.04 laptop to my television via HDMI, and use the TV as a monitor. Unfortunately, it's a second monitor; I want it to be an only monitor. (I get annoyed moving the mouse from one monitor to the other. I just want everything to be on the TV. I don't want to have to drag things to the right of my laptop screen to see them on my TV screen.) Please advise me on options, including disabling the built-in monitor.
A particularly annoying aspect of my current configuration is that, even after I drag a window to the TV, if I try to put it into full screen mode, it reverts to the laptop display.
Solution 1:
Using xrandr
- Open a terminal window.
- type
xrandr
. It will list all video ports. 2 will have some data below them 1920x1200 etc. One is tv the other is laptop monitor. - Assuming the laptop monitor is called
LVDS1
then typexrandr --output LVDS1 --off
There is also a graphical tool to do it, but I know not of how to do this using the ubuntu unity desktop. (If you are running kde, gnome or other then do tell.)