Re: xorg configuration
On Sun 28 Aug 2011 at 20:54:58 +0200, Andreas Berglund wrote:
> I have xorg on autodetect, but it frequently gets things wrong about the
> resolution the monitor provides. When it gets things right is there any
> way to extract the configuration of the running instane of xorg into a
> configuration file?
You may want an /etc/X11/xorg.conf which is something like this:
Section "Monitor"
Identifier "1905FP"
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
HorizSync 30-81
VertRefresh 56-76
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "1905FP"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x1024_60.00"
EndSubSection
EndSection
The Modeline information could come from /var/log/Xorg.0.log I suppose,
but I used cvt to generate it.
cvt 1280 1024
Reply to: