[SATLUG] X gone wrong with dual displays

Bruce Dubbs bruce.dubbs at gmail.com
Sat Sep 12 10:54:03 CDT 2009


JJordan wrote:

>> ----- Original Message ----- From: "Jeremy Mann" <jeremymann at gmail.com>

>>> I've got dual displays on my G5 Mac. I have Gentoo PPC on here and for
>>> some reason X switches the primary display to the secondary display.
>>> To get around this, I simply switched DVI cables (95% of my time is
>>> spent in PPC Linux), but if I reboot into OSX the monitors are now
>>> switched.
>>>
>>> I've played around with randr but cannot get the right configuration
>>> to fix this.
>>>
>>> Any ideas on how to permanently fix this?
>> ------------------------------------------------------------------------------- 

>> If you have nano (or another favorite editor), at the C prompt, 
>> execute the following line: "nano -w /etc/X11/xorg.conf" . In the 
>> "Monitor" and "Screen sections, change monitor 0 (zero) to one and 
>> monitor 1 to 0 (zero). This change must be made in both Screen and 
>> Monitor "Sections" of the xorg.conf file.

> ------------------------------------------------------------------------------- 
> 
> Just thought of an easier fix!
> /etc/X11/xorg.conf file, [Section "ServerLayout"]
> 
>    Change the Screen    0    "Screen0" Leftof "Screen1" to read:
>               Screen    0    "Screen0" Rightof "Screen1"
> 
> You can swap the numbers around in the two "Screen" lines to designate 
> the placement as you wish..

You can have multiple "ServerLayout" and multiple "Screen" sections in your 
xorg.conf file.  Then start with xorg -- -layout LayoutName

Alternatively, take a look at

    http://ubuntuforums.org/showpost.php?p=2510689&postcount=1

for some ideas on automating the process.

   -- Bruce




More information about the SATLUG mailing list