Home > Ubuntu > How-To: set master monitor on a dual head configuration on Ubuntu 11.04

How-To: set master monitor on a dual head configuration on Ubuntu 11.04

OS: Ubuntu 11.04 (Natty Narwhal)
Video Card: Intel Integrated Graphic Card
Video output: 1 DVI, 1 VGA

The system “Monitors” application let you set the disposition of the two monitors, which is left and which is right, but it doesn’t let you decide which is the master (or 0 and 1).
By default, the system set the VGA monitor as master but I want it to be the slave and configure the DVI monitor to be the primary.

Run xrandr to view how monitors are named and what are used:

[cce_bash]massimo@bebop:~$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 8192 x 8192
VGA1 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0 
   1152x864       75.0 
   1024x768       75.1     70.1     60.0 
   832x624        74.6 
   800x600        72.2     75.0     60.3     56.2 
   640x480        72.8     75.0     66.7     60.0 
   720x400        70.1 
HDMI1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 337mm x 270mm
   1280x1024      60.0*+   75.0 
   1152x864       75.0 
   1024x768       75.1     70.1     60.0 
   832x624        74.6 
   800x600        72.2     75.0     60.3     56.2 
   640x480        72.8     75.0     66.7     60.0 
   720x400        70.1 
DP1 disconnected (normal left inverted right x axis y axis)[/cce]

In my case, the DVI connection is identified as HDMI1.
Now shut off the VGA monitor

[cce_bash]xrandr --output VGA1 --off[/cce]

Shut off the DVI

[cce_bash]xrandr --output HDMI1 --off[/cce]

WARNING: doing this will disable both of your monitors!
Keep the terminal on top and write next command blindly.

Set the HDMI1 interface as primary

[cce_bash]xrandr --output HDMI1 --auto --primary[/cce]

Enable the secondary and put it to the right of the primary

[cce_bash]xrandr --output VGA1 --auto --right-of HDMI1[/cce]

Enjoy :)

 

 

SOURCE: ubuntuforums.org – [ubuntu] Changing master monitor in dual set-up

Categories: Linux, Ubuntu
  1. No comments yet.
  1. No trackbacks yet.