红联Linux门户
Linux帮助

linux下的分辨率设置

发布时间:2007-11-29 15:49:58来源:红联作者:fersuse
今天把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 就是神气。
文章评论

共有 3 条评论

  1. 奶瓶 于 2007-11-29 23:54:24发表:

    不错。学习一下。以防遇到这个问题。呵呵

  2. vicar 于 2007-11-29 19:16:17发表:

    :0w5ty(1 我也修改了 今天准备下载内核更新下

  3. Space 于 2007-11-29 16:47:32发表:

    linux何时能不要这样,关键的是硬件产商的支持