|
|
发现有很多朋友装了linux以后,一直被显示问题,搞的一塌糊涂,其实很简单只需修改一下显示配置文件即可搞定。首先要以root登录命令行或大开终端
用vim编辑/etc/X11/xorg.conf
找到一下部分:
Section "Monitor"
Identifier "通用显示器"
Option "DPMS"
HorizSync 30-72
VertRefresh 50-120
EndSection
HorizSync 30-72是水平刷新率
VertRefresh 50-120是垂直刷新率
只要知道你的显示器的水平刷新率和垂直刷新率的范围改一下即可。
如果没有说明书,而且你也不知道,那你把我的抄上,我的是17纯平。
再找到下面部分:
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82915G/GV/910GL Integrated Graphics Controller"
Monitor "通用显示器"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
DefaultDepth 24表示支持的显示的颜色的位数,一般都支持24
Modes "1024x768" "800x600" "640x480"是你的显示器支持的所有的分辨率
把你的显示器的支持的所有格式全部照抄。
注意:
更改的语法格式必须语原来的相同。保存退出。重启X。
祝你成功!! |
|