注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 Cisco模拟器PacketTracert..
 帮助

linux下的分辨率设置


2007-11-28 10:37:29
 标签:linux 设置 分辩率   [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://fangfang0717.blog.51cto.com/236466/52545
今天把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 就是神气!!

 
 

本文出自 “Fighting” 博客,请务必保留此出处http://fangfang0717.blog.51cto.com/236466/52545



上一篇 linux user manager  下一篇 regsvr32 命令用法



    文章评论
 
2007-11-28 15:21:49
很好的经验之谈 不错 也很实用 博主继续努力 写更好的文章出来 期待

2007-11-30 16:36:09
支持你~~ 呵。

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: