博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何通过命令行方式修改XWindows的分辨率和刷新频率
阅读量:4231 次
发布时间:2019-05-26

本文共 832 字,大约阅读时间需要 2 分钟。

Q: 如何通过命令行方式修改XWindows的分辨率和刷新频率?

A: 可以通过手工修改/etc/X11/XF86Config文件的方式来改变分辨率,对于手工
改变刷新频率,需要知道显示器支持的水平扫描频率和垂直扫描频率范围,这里
提到的刷新率一般指的是垂直扫描频率。然后修改下面Monitor Section的HorizSync设置和VertRefresh字段
Section "Monitor"
Identifier "Monitor"
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"
Identifier "Screen"
Monitor "Monitor"
EndSection

 

转载地址:http://pysqi.baihongyu.com/

你可能感兴趣的文章
Word 2007: The Missing Manual
查看>>
CSS, DHTML, and Ajax, Fourth Edition
查看>>
SMS 2003 Administrator's Reference: Systems Management Server 2003
查看>>
Service Oriented Architecture For Dummies
查看>>
Excel 2007: The Missing Manual [ILLUSTRATED]
查看>>
The PEAR Installer Manifesto
查看>>
WordPress Complete: set up, customize, and market your blog
查看>>
Backup & Recovery
查看>>
Creating your MySQL Database: Practical Design Tips and Techniques
查看>>
Ajax on Rails
查看>>
Groovy in Action
查看>>
Windows Vista: Visual QuickStart Guide
查看>>
RSA Security's Official Guide to Cryptography
查看>>
Practical Software Factories in .NET
查看>>
Mac OS X Programming
查看>>
Hacker Linux Uncovered
查看>>
CCNP BCMSN Official Exam Certification Guide (4th Edition)
查看>>
Internetworking Troubleshooting Handbook
查看>>
Windows Vista in a Nutshell: A Desktop Quick Reference
查看>>
How to Do Everything with Mac OS X Panther
查看>>