调整linux系统的显示器分辨率。
1)cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bk
2)vi /etc/X11/xorg.conf
修改红色部分
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 65
Option "dpms"
EndSection
to
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 100.0
VertRefresh 50.0 - 85.0
Option "dpms"
EndSection
在这个section中添加红色部分:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1027x768" "1280x7200" "800x600" "640x480"
EndSubSection
EndSection
重启机器即可。
阅读(887) | 评论(0) | 转发(0) |