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 本文出自 51CTO.COM技术博客 |


fangfang0717
博客统计信息
热门文章
最新评论
友情链接
