/etc/X11下新建xorg.conf 文件
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 9
32 -HSync +Vsync
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Modes "1440x900" "1024x768"
EndSubSection
EndSection
终端中输入命令:
gtf 1024 768 60
这个1024 768是你要设的分辩率,这个60是你要设的刷新率。
得到的命令结果如下:
$ gtf 1024 768 60
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
直接把命令结果中的Modeline这一行复制进Section "Monitor"这个区块中即可。