How to change resolution before logging in?

That makes much more sense. So, upon using the command cvt 1024 768 I got:

# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync

Which tells me I should edit the file to look like this (for both):

Section "Monitor"
    Identifier  "HDMI-0"
    ModeLine    "1024x768" 63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    Option      "PreferredMode" "1024x768"
    Option      "RightOf" "DP-4"
EndSection
1 Like

Hmmm… It seems that only the line telling the primary monitor worked. A good improvement, but I wonder why this didn’t work:

Section "Monitor"
    Identifier  "DP-4"
    Option      "Primary" "true"
EndSection

Section "Monitor"
    Identifier  "HDMI-0"
    ModeLine    "1024x768" 63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    Option      "PreferredMode" "1024x768"
    Option      "RightOf" "DP-4"
EndSection

Section "Monitor"
    Identifier  "DVI-D-0"
    ModeLine    "1024x768" 63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    Option      "PreferredMode" "1024x768"
    Option      "RightOf" "HDMI-0"
EndSection