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,所以加上:
 
保存退出:x
由于该文件对root 是可写的,所以建议在root下进行操作,重新logout一下即可。