i recommend using gtf to generate the appropriate modeline, then creating /etc/X11/xorg.conf file (or an appropriate fragment in /etc/X11/xorg.conf.d) to invoke that mode. Something like
Code:
~$ gtf 1280 720 60
# 1280x720 @ 60.00 Hz (GTF) hsync: 44.76 kHz; pclk: 74.48 MHz
Modeline "1280x720_60.00" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync
then an xorg.conf file looking like (or including) the following:
Code:
Section "Monitor"
#UseModes "Modes0" #monitor0usemodes
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
DisplaySize 432 270
HorizSync 30.0 - 86.0
VertRefresh 56.0 - 76.0
Modeline "1280x720_60.00" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
Option "IgnoreEDID" "TRUE"
Modes "1280x720" "1024x768"
EndSubSection
EndSection