I have a HP Laptop with a 1280x800 resolution.
I generated a ModeLine using the gtf command.
I used the command:
gtf 1280 1024 60 -x
This generates a mode line for a 60 hz refresh rate.
I redirected the output to a file "1280x800_60" and then inserted the file when making a Modes section.
If the original xorg.conf file doesn't have modelines, remember to match the name of the Modeline section, e.g. in the Modes section there is a line
identifier "
Modes[0]"
The same identifier should be referred to in the Monitor section.
sample only:
Code:
Section "Monitor"
DisplaySize 330 210
HorizSync 30-33
Identifier "Monitor[0]"
ModelName "F6253
154W02 MONITOR"
Option "DPMS"
VendorName "LPL"
VertRefresh 43-72
UseModes "Modes[0]"
EndSection
Section "Modes"
Identifier "Modes[0]"
EndSection
I quickly grabbed this sample from the web. This sample doesn't have any mode-lines in the Modes section. You can insert the output of the gtf command there.
One hint, The display at other resolutions may not look as good. Consider only using the 1280x800 native resolution of the LCD screen.