红联Linux门户
Linux帮助

FC 在hp500设置宽屏分辨率

发布时间:2007-03-16 01:00:05来源:红联作者:coolbg
/etc/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:
### 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 1280x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 90.0
VertRefresh 60.0 - 60.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x768" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x768" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

---
915resolution -l 显示 所有可支持分辨率 ,更改其中一个不会用到的分辨律,例如:
915915resolution 5a 1280 768
再用915resolution -l 显示时发现 5a 处的分辨率变成了 1280x768

为使915resolution在启动X运行,在etc/rc.local 中加入下面一行:
/usr/sbin/915resolution 1280 768 60

开始几次都不成功,后来在gnome图形界面调整分辨率时,将色彩深度换成上千,再重启,居然就可以了,但是心里总觉得不是最佳显示,然后再换成上百万,分辨率有又不行,反复几次,居然在百万时可以了,也不知道是什么原因!
文章评论

共有 0 条评论