One-Click Switch for External Monitor

Amichai Rotman amichai at
Mon Apr 15 19:35:49 UTC 2013


I have an Ubuntu 12.04 LTS box with an nVidia GForce 210 Video Card in it
(driver version 304.88).

I have a 17" Samsung 932BF monitor connected to the DVI port and a Generic
(=no brand) 26" LCD TV connected to the HDMI port.

This TV is capable of 1366x768 (16:9) resolution. My monitor is set @
1280x1024 (4:3) Resolution.

I am using the nVidia X Srver Settings GUI tool to manage the TV.

The problem: every time I restart the computer or log in, the HDMI port is
activated automatically @ 640x480 resolution in TiwinView mode in the
Absolute position as an extension to my monitor.

Also, I have to open the Sound Settings panel and manually switch to the
HDMI sound port.

What I'd like:

I'd like to control when the HDMI gets activated (i.e. - should stay
disabled unless I activate it)

I'd like to have an icon that activates the HDMI port with the correct
resolution (the previously mentioned resolution is not on the list - I have
1920x1080 instead) and switch the sound to the HDMI output.

I don't mind running a script from CLI, in fact I prefer it.

Any tips?

How do I make Ubuntu identify the TV correctly? In the past I used to edit
the section in the /etc/X11/Xorg.conf file...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list