最近因为要使用服务器的关系,把系统换到了CentOS5.1下,可能由于是服务器版本的关系,对硬件的支持可能不是很好,我的无线网卡没有认出来,分辨率也是默认的1024x768,网上找了找总结了下,方法如下:
首先打开/etc/X11/xorg.conf找到如下数据并改为(备份好xorg.conf以便X出问题可以恢复):
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1440x900"
DisplaySize 301 192
HorizSync 31.5 -100.0
VertRefresh 59.0 - 75.0
Modeline "1280x800_60.00" 83.46 1280 1344 1480 1680 800 801 804 828
Option "dpms"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x800"
EndSubSection
EndSection
上面Modeline那行可以执行gtf 1280 800 60,把得到数据依样复制上去就是了,然后执行xdpyinfo | grep dimension,用得到数据来替换或添加DisplaySize 301 192这行.
最后下载915resolution
gedit /etc/rc.d/rc.local
在末尾加入/usr/sbin/915resolution 38 1280 800 24 ,重启,看效果吧,呵呵