xorg: try to set fixed video moves only when old CRT seem detected

This commit is contained in:
Silvan Calarco 2014-06-30 00:18:40 +02:00
parent 2244f457a3
commit 381aed1e7b

View File

@ -435,7 +435,7 @@ warning: DDC hsync range cannot be detected, setting default of 30-49 kHz"
HorizSync 30-49' $XORGCONF HorizSync 30-49' $XORGCONF
} }
[ "$PANEL_SIZE_DETECTED" ] || [ "$HSYNC_RANGE_NOT_DETECTED" -a ! "$PANEL_SIZE_DETECTED" ] &&
sed -i -e '/SubSection "Display"/a\ sed -i -e '/SubSection "Display"/a\
Modes "1024x768" "800x600" "640x480"' $XORGCONF Modes "1024x768" "800x600" "640x480"' $XORGCONF
else else