1. 使用gtf命令生成Mode_Line
~$ gtf 1600 1200 60 # 1600x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 160.96 MHz Modeline "1600x1200_60.00" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -HSync +Vsync
2. 创建/etc/X11/xorg.conf
3. 添加内容
注意: Horizsync 和 Vertrefresh的值一定要查到自己显示器的实际参数,否则有可能导致显示器损坏!
Section "Device" Identifier "Configured Video Device" EndSection Section "Monitor" Identifier "Configured Monitor" Horizsync 30-81 Vertrefresh 56-76 Modeline "1600x1200_60.00" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -HSync +Vsync Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync Modeline "800x600_60.00" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync Option "dpms" Option "PreferredMode" "1600x1200_60.00" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" SubSection "Display" Modes "1600x1200" "1024x768" "800x600" EndSubSection EndSection
5. 重启,搞定