Re: how to get all options from dpkg-reconfigure
Użytkownik Eduardo M Kalinowski <ekalin@bol.com.br> napisał:
>> Uzytkownik Gabor Gombas <gombasg@sztaki.hu> napisal:
>> >If you have a moderately sane monitor (if it's not older than a couple
>> >of years, it usually is - modulo firmware bugs), and a moderately sane
>> >video card, then you could try to simply remove any monitor-specific
>> >settings and let X.Org detect the monitor using EDID data.
>> >
>> >Gabor
>> >
>>
>> I can confirm that - my new monitor was detected well by the xorg after
>> removing all the monitor settings (I left the "Identifier" field of course, and one
>> option, but don't know if this option is necessary). The monitor section looks
>> like this:
>>
>> Section "Monitor"
>> Identifier "Monitor 0"
>> Option "DPMS"
>> EndSection
>>
>> But for the old monitor the other settings were needed.
>
>In this case, how does one specify the desired resolution? Using xrandr only?
>
The screen resolution is not specified in the "Monitor" section, but in the
"Screen" section (in the "Monitor" section you only specify refresh rates for
the resolutions given in the "Screen" section, not the resolutions themselves).
For example:
Section "Screen"
Identifier "Default Screen"
Device "Device 0"
Monitor "Monitor 0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
The Device your graphics card. In each SubSection you specify desired
screen resolutions for a given color depth.
The resolutions and the depths should be available in your monitor and
graphics card (check the manual).
Tomek
Reply to: