How to set default monitor mode?

Alex Deucher alexdeucher at gmail.com
Sat May 23 12:08:21 PDT 2009


On Sat, May 23, 2009 at 1:35 PM, Harald Braumann <harry at unheit.net> wrote:
> Hi,
>
> thanks for the reply. I didn't realise, the monitor section wasn't
> associated with the output. I now use Option "Monitor-DVI-0" ... to
> associate output with monitor and that works.
>
>  On Sat, 23 May 2009 12:13:01 -0400
> Alex Deucher <alexdeucher at gmail.com> wrote:
>> Take a look at this page for more on how to set up monitor sections
>> for multiple outputs:
>> http://wiki.debian.org/XStrikeForce/HowToRandR12
>> changing the identifier for your monitor to DVI-0 should do the trick.
>>
>> Section "Monitor"
>>       Identifier      "DVI-0"
>>       Modeline "1280x1024_85.00" 157.50 1280 1344 1504 1728 1024
>> 1025 1028 1072 +HSync +VSync
>>       Option "PreferredMode" "1280x1024_85.00"
>> EndSection
>>
>> Section "Screen"
>>       Identifier      "Default Screen"
>>       Monitor         "DVI-0"
>> EndSection
>
> If I specify a monitor in the "Screen" section, wouldn't it be natural
> to use this monitor's settings as defaults? Or would that create
> incompatibilities with legacy systems?

The neither the xserver nor the driver knows which connector is
connected until the ports are probed, so it currently defaults to
associating the monitor with the first enumerated randr output.

Alex



More information about the xorg mailing list