Geeks at Work: TwinView Screen Recognization on Ubuntu

I am a mac user, I will never switch platform simply because I feel at home on Mac OS X. Nonetheless I really like Linux, and Ubuntu is the flavour of Linux I prefer.

Today I installed Ubuntu 6.10 to test a development environment and once again I forgot how to set up TwinView so it correctly recognizes my LCD display as primary monitor and the CRT display as secondary. The nVidia driver always recognizes the CRT display as the primary one, no matter what you tell it to do with the various options at your disposal.

I went into panic / google / forums / what-else mode for a few hours then I was able to find a solution to this widely spread problem.

Here’s the snippet that saved my life (taken from /etc/X11/xorg.conf):


Section "Device"
Identifier"nVidia GeForce 6600"
Driver"nvidia"
BusID"PCI:1:0:0"
Option "TwinView" "True"
Option "UseEdidFreqs" "True" Option "MetaModes" "DFP: 1440x900 +0+240, CRT: 1280x1024 +1440+0"
Option "TwinViewXineramaInfoOrder" "DFP,CRT"
EndSection

The most important option there is TwinViewXineramaInfoOrder and I hope I will never forget to set it in my future X.Org configurations :)

Comments are closed.