Waarschuwing!! vieze methode!!
tik in een terminal:
xrandr
er hoort zoiets uit te komen:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
LVDS1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
LVDS1 is dus waar mijn beeldscherm op is aangesloten (kan anders zijn bij jou). nu wil ik dat scherm op 1280x768 (4:3) zetten, maar dat word niet ondersteund... of toch wel?
tik het volgende in de terminal om een config-regel te krijgen voort 1280x768 @ 60Hz
niek@niek-N73SV:~$ cvt 1280 768 60
# 1280x768 59.87 Hz (CVT) hsync: 47.78 kHz; pclk: 79.50 MHz
Modeline "1280x768_60.00" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
de Modeline is wat we nodig hebben:
kopieer alles op deze regel na het woordje Modeline, dus:
"1280x768_60.00" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
creëer dan een nieuwe video-modus met:
xrandr --newmode "1280x768_60.00" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
maar nu is je video-modus nog niet toegevoegd aan je output, doe dit met:
xrandr --addmode LVDS1 "1280x768_60.00"
(verander LVDS1 voor wat je zelf hebt gevonden in xrandr en verander 1280x768_60 voor de modus die je met cvt hebt gemaakt)
resultaat:
niek@niek-N73SV:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
LVDS1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1280x768 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
succes!! de beeldschermmodus verschijnt nu ook in je systeeminstellingen!