linux下的分辨率设置

今天把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 就是神气!!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值