今天把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 就是神气!!