学习 · 2007年12月22日 0

magiclinux调整显示分辨率

打算在vmware下装个linux, 原先用过ubuntu,想换换口味,尝个鲜,试了freebsd,还没装完我就被搞的头大的不行了。最后决定装magiclinux,这毕竟是linux开源社区的集体结晶呵。装起来倒蛮顺利的,就是比ubuntu慢了点,我估计magiclinux装的完全安装包比较多的缘故(单输入法就 装了小企鹅 和 scim两种)。
启动起来发现默认是640×480的,可俺的显示器是1024×768滴,这样太太太浪费了。
google了一通,最后把/etc/X11/xorg.conf改为如下:
# Xorg configuration created by system-config-display
Section “ServerLayout”
Identifier      “single head configuration”
Screen       0   “Screen0” 0 0
InputDevice     “Mouse0” “CorePointer”
InputDevice     “Keyboard0” “CoreKeyboard”
EndSection
Section “Files”
RgbPath       “/usr/X11R6/lib/X11/rgb”
FontPath      “/usr/X11R6/lib/X11/fonts/misc:unscaled”
FontPath      “/usr/X11R6/lib/X11/fonts/75dpi:unscaled”
FontPath      “/usr/X11R6/lib/X11/fonts/100dpi:unscaled”
FontPath      “/usr/X11R6/lib/X11/fonts/misc”
FontPath      “/usr/X11R6/lib/X11/fonts/Type1”
FontPath      “/usr/X11R6/lib/X11/fonts/cyrillic”
FontPath      “/usr/X11R6/lib/X11/fonts/TTF”
FontPath      “/usr/share/fonts/default/Type1”
FontPath      “/usr/share/fonts/ttf/zh_CN”
EndSection
Section “Module”
Load   “dbe”
Load   “extmod”
Load   “fbdevhw”
Load   “glx”
Load   “record”
Load   “freetype”
Load   “type1”
Load   “dri”
EndSection
Section “InputDevice”
Identifier   “Keyboard0”
Driver       “keyboard”
Option      “XkbRules” “xfree86”
Option      “XbkModel” “pc105”
Option      “XkbLayout” “us”
EndSection
Section “InputDevice”
Identifier   “Mouse0”
Driver       “mouse”
Option      “Protocol” “IMPS/2”
Option      “Device” “/dev/input/mice”
Option      “ZAxisMapping” “4 5”
Option      “Emulate3Buttons” “no”
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:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier    “Monitor0”
VendorName    “Monitor Vendor”
ModelName     “LCD Panel 1024×768”
### Comment all HorizSync and VertSync values to use DDC:
HorizSync     31.5 – 48.5
VertRefresh   40.0 – 70.0
EndSection
Section “Device”
Identifier   “Videocard0”
Driver       “vmware”
VendorName   “Videocard vendor”
BoardName    “VMWare”
VideoRam     16384
EndSection
Section “Screen”
Identifier “Screen0”
Device      “Videocard0”
Monitor     “Monitor0”
DefaultDepth      24
SubSection “Display”
Depth      1
Modes     “1280×1024” “1024×768” “800×600” “640×480”
EndSubSection
SubSection “Display”
Depth      4
Modes     “1280×1024” “1024×768” “800×600” “640×480”
EndSubSection
SubSection “Display”
Depth      8
Modes     “1280×1024” “1024×768” “800×600” “640×480”
EndSubSection
SubSection “Display”
Depth      15
Modes     “1280×1024” “1024×768” “800×600” “640×480”
EndSubSection
SubSection “Display”
Depth      16
Modes     “1280×1024” “1024×768” “800×600” “640×480”
EndSubSection
SubSection “Display”
Depth      24
Modes     “1024×768” “800×600” “640×480”
EndSubSection
EndSection
搞定了:)
不过konqueror浏览器貌似没有firefox速度快,而且,baidu空间的显示也不正常:(