There is program that can generate a modeline for you:
gtf <horizontal> <vertical> <refresh> -x
Put the modeline in the Monitor section.
The modeline will look something like this:
Code:
# 1280x800 @ 56.00 Hz (GTF) hsync: 46.26 kHz; pclk: 77.71 MHz
Modeline "1280x800_56.00" 77.71 1280 1344 1480 1680 800 801 804 826 -HSync +Vsync
It may be a good idea to remove the ".00" part. I don't know how X parses that part.
In the Screen section add the "_56" to the entries:
Code:
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x800_56" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
The resolution and refresh rate I used are for illustration. Use your own values.