|
使用比较新的笔记本装linux的朋友大概都会遇到这样一个问题-----1280*800或者1280*960的宽屏只能当做1024*768使用,界面变形,字迹不清,感觉很不爽,我也非常郁闷,找遍论坛也没有发现这样的文章(也许是我不会找吧-_-!!),今天终于在一个国外网站上面发现了,按照上面说的步骤设置成功了,把步骤发出来给需要的朋友看看,本人刚学LINUX有错误之处还请大虾指正:
装完fc3后在选择显示器类型的时候不要去选你电脑的类型,比如我的笔记本是compaq presario但是如果选择的是compaq presario integrated monitor的时候只有800*600的分辨率,这样连1024*768都到不了了,我选择的是generic lcd->1280*800但是选择完毕后发现根本不能调成1280*800,只有1280*960,即使选择1280*960仍然是1024*768的dpi,faint!
进入系统后,步骤如下:
[root@host ~]# cd ..
[root@host /]# cd etc
[root@host etc]# cd X11
[root@host X11]# ls
applnk lbxproxy starthere xdm xorg.conf xserver
dm prefdm sysconfig xinit xorg.conf.backup xsm
fs proxymngr twm xkb Xresources
gdm serverconfig X Xmodmap X.rpmsave
[root@host X11]# vi xorg.conf
把这个文件Section "Monitor"开始到Section "DRI"之间的部分修改成这样:
Section "Monitor"
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
# Warning: This may fry old Monitors
# Very conservative. May flicker.
# These are some Modelines that happen to work on many systems
# Especially the "1024x768" has been thoroughly tested, even on Laptops
Identifier "Monitor0"
VendorName "LGP"
ModelName "LGP0000"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 76.0
ModeLine "640x480" 25.2 640 664 760 800 480 491 493 525
ModeLine "800x600" 40.1 800 848 968 1056 600 601 605 628
ModeLine "1024x768" 85.0 1024 1056 1152 1360 768 784 787 823
ModeLine "1152x864" 92.0 1152 1208 1368 1474 864 865 875 895
ModeLine "1152x864" 110.0 1152 1240 1324 1552 864 864 876 908
ModeLine "1152x864" 135.0 1152 1464 1592 1776 864 864 876 908
ModeLine "1152x864" 137.7 1152 1184 1312 1536 864 866 885 902 -hsync -vsync
ModeLine "1280x1024" 80.0 1280 1296 1512 1568 1024 1025 1037 1165 interlace
ModeLine "1280x1024" 110.0 1280 1328 1512 1712 1024 1025 1028 1054
ModeLine "1280x1024" 126.5 1280 1312 1472 1696 1024 1032 1040 1068 -hsync -vsync
ModeLine "1280x1024" 135.0 1280 1312 1456 1712 1024 1027 1030 1064
ModeLine "1280x1024" 135.0 1280 1312 1416 1664 1024 1027 1030 1064
ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
ModeLine "1280x1024" 181.8 1280 1312 1440 1696 1024 1031 1046 1072 -hsync -vsync
ModeLine "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
ModeLine "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 -hsync -vsync
ModeLine "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
ModeLine "1600x1200" 220.0 1600 1616 1808 2080 1200 1204 1207 1244 +hsync +vsync
ModeLine "1800x1440" 230.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
ModeLine "1800x1440" 250.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility M9"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
其他不变,:qw保存退出,重新起动系统,OK!原来我们的屏幕这么爽呢!
原作者在他的文章中说还有一个软件叫做kruler修改起来更容易,大家不妨尝试一下.
原文如下:
Monitor : Out of the box the radeon was detected (came up as a radeon 9 M) and the monitor was initialized at 1024 x 768, standard XGA. After checking out the x1000 forum page I found an XF86Config file which enabled the full 1280x800 resolution - much nicer on the eyes. A useful tool which I didnt know about until I was futzing with XF86Config stuff is KDE's screen ruler (kruler) which allows you to visually check what resolution your display is functioning at.
作者:斯坦福大学 J.Frank |
|