Chinaunix首页 | 论坛 | 博客
  • 博客访问: 10501717
  • 博文数量: 2905
  • 博客积分: 20098
  • 博客等级: 上将
  • 技术积分: 36298
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-23 05:00
文章存档

2012年(1)

2011年(3)

2009年(2901)

分类: LINUX

2009-03-23 11:28:37

今天把linux的分辨率一改,原来设置的是1280*1024我改成了1024*768 的,然后logout 。
发现不行界面太小,想在改回来,结果发现下xwindow的下拉列表里,那些选项都没有了!
结果查了一下大有所获现将心得记录下来,朋友如果遇到类似问题,可以这样解决了!
 
首先设计分辩率的文件:
位于/etc/X11/xorg.conf .orginal文件和//etc/X11/.xorg.conf .backup 和一个备份文件
xorg.conf . 的内容圾
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "206STUDIO"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
当我改成1024*768发现在 "section  screen ”这个块里边,没有发现Modes 所以加上
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes  "1280*1024"
EndSubSection
EndSection
保存退出:x
由于该文件对root 是可写的所以建议在root下进行操作
好了重新logout一下 ,发现下拉框的好多选项都出来了!
linux 就是神气!!

 
 

阅读(1008) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~