Force a monitor modeline in xorg.conf

Asked by Bob Bib

How to force a specific monitor modeline in xorg.conf ?

---

Section "Monitor"
 Identifier "Monitor0"
 Modeline "1024x768_100.00" 112.25 1024 1096 1200 1376 768 771 775 816 -hsync +vsync
EndSection

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Best Sam_ (and-sam) said :
#1
Revision history for this message
Bob Bib (bobbib) said :
#2

Option "PreferredMode" "1024x768_100.00"
---
"Preferred" sounds not so strict as "forced" :)

Revision history for this message
Bob Bib (bobbib) said :
#3

"PrefferredMode" doesn't work when monitor is attached after the boot-up process is finished, but the following config works well.
---
Section "Monitor"
    Identifier "Monitor0"
    VendorName "Samsung"
    ModelName "SyncMaster"
    HorizSync 30.0 - 110.0
    VertRefresh 50.0 - 160.0
    Option "DPMS" "true"
    Modeline "1024x768_100.00" 112.25 1024 1096 1200 1376 768 771 775 816 -hsync +vsync
EndSection

Section "Screen"
    Identifier "Screen0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
 Modes "1024x768_100.00"
    EndSubSection
EndSection

Revision history for this message
Bob Bib (bobbib) said :
#4

Thanks Sam_, that solved my question.