Q: 如何通过命令行方式修改XWindows的分辨率和刷新频率?
A: 能够通过手工修改/etc/X11/XF86Config文档的方式来改变分辨率,对于手工
改变刷新频率,需要知道显示器支持的水平扫描频率和垂直扫描频率范围,这里
提到的刷新率一般指的是垂直扫描频率。然后修改下面Monitor Section的HorizSync配置和VertRefresh字段
Section "Monitor"
Identifier "Monitor[0]"
ModelName "1280X1024@70HZ"
Option "DPMS"
VendorName "--> LCD"
HorizSync 28-82
VertRefresh 57-70
EndSection
然后修改Screen Section的DefaultDepth所对应的SubSection的Modes
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 16
#将Modes改为 1024x768 800x600 640x480
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
本文来自ChinaUnix博客,假如查看原文请点:http://blog.chinaunix.net/u/31/showart_527548.html
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




