最近又實驗安裝了centos 5.8,裝完後啟動,界面太差了,看著費勁。
百度一查,原來是分辨率的問題。下面是分辨率設置方法。
“系統->管理->顯示“(英文版本的是system->adminstaration->display),打開後,hardware的monitor type 選擇你的顯示器對應類型,我的是LCD 1440x900。
video card 顯卡驅動,默認的都是用的linux通用的顯卡驅動vesa,我看了一下列舉的驅動,剛好有我的顯卡驅動(英偉達的)nv,選擇它。
按照上面設置好了之後,畫面清晰很多了,但明顯分辨率不是1440x900的,字體很大一個,界面看起來還是不很滿意。還要修改一下顯示分辨率。在setting裡面
設置了,重新登錄後依然還是上次的分辨率,直接修改配置文件/etc/X11/xorg.conf可以解決這個問題。我的配置如下:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "LCD Panel 1440x900"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 56.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubSection
EndSection之前顯示的都是1024x768的分辨率,如上在前面添加1440x900,保存,logout後在登,分辨率就正常了。