LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1453|回复: 12

请高手帮我配置一下分辨率

[复制链接]
发表于 2005-12-16 23:53:10 | 显示全部楼层 |阅读模式
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "GLcore"
        Load        "bitmap"
        Load        "dbe"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "record"
        Load        "speedo"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xfree86"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "rotocol"                "S/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection
Section "InputDevice"
        Identifier        "Generic Mouse"
        Driver                "mouse"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/input/mice"
        Option                "rotocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "NVIDIA Corporation NV17 [GeForce4 MX 440]"
        Driver                "nv"
        VideoRam        64000
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        HorizSync        28-50
        VertRefresh        43-75
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "NVIDIA Corporation NV17 [GeForce4 MX 440]"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Generic Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection


我的纯平彩色显示器原来在xp下的分辨率为1024*768@85Hz,32位真彩色;
到了debian下最大分辨率为800*600,最大刷新频率为75Hz;请问如何修改XF86Config-4文件才能和在xp下的桌面环境一样?

还有,当文件浏览器或者网页浏览器的右侧有滚动条时,我滚动鼠标滚轮却没有任何反应,这是为什么呢?

还有,当我用rhythmbox播放mp3时每次开始,喇叭总是会有连续两声"德德"的声音,这是为什么呢?
发表于 2005-12-17 00:06:40 | 显示全部楼层
我是这么配置的:用dpkg-reconfigure xserver-xfree86,显卡类型选vesa,在后面的某一步里,提示有个medium 和advance,选medium(不知拼对没有),然后选择你的显卡所支持的分辨率就行了,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-17 00:13:35 | 显示全部楼层
嗯,我也有经过这一步,用dpkg-reconfigure xserver-xfree86配置时,我选的是advance,
但是好象没有你说的配置分辨率,他要我给它 HorizSync ,ertRefresh ;因为我不会所以就没有修改
它默认填在上面的数据;后来就配成了这样;
HorizSync ,ertRefresh该怎么填写阿?
回复 支持 反对

使用道具 举报

发表于 2005-12-17 00:19:32 | 显示全部楼层
advance和medium的差别就在这:选medium就可以直接勾选分辨率和刷新率了,而advance是高级设定,不是高分辨率的设定,我一开始也是这么理解的。

可以再运行一下,记得好象是设置完重新登录就可以了,如果没变过来可以在debian菜单-程序-系统-gnome-gnome control panle里更改分辨率。

填写那两个参数需要看你的显示器说明书,在不知道的情况下设置了超出显示器的物理显示范围,可能会损害显示器。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-17 00:58:41 | 显示全部楼层
嗯,我修改好了,分辨率为1024*768,刷新率为75hz,挺满意;

谢谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-17 01:09:20 | 显示全部楼层
耶!鼠标问题也解决了,原来是protocal没有配置好,改为"IMPS/2"就ok了!

哪位高手帮我解决第三个问题阿
当我用rhythmbox播放mp3时每次开始,喇叭总是会有连续两声"德德"的声音,这是为什么呢?
回复 支持 反对

使用道具 举报

发表于 2005-12-17 01:09:56 | 显示全部楼层
"分辨率为1024*768,刷新率为75hz,挺满意;"
一般应该有85Hz的吧
回复 支持 反对

使用道具 举报

发表于 2005-12-17 01:15:31 | 显示全部楼层
我还没见过Debian的刷新率上过85的呢!如果那位哥们配制上了85请指教下是怎么设置上去的.
在windows的时候刷新率用85习惯了.呵呵
回复 支持 反对

使用道具 举报

发表于 2005-12-17 08:27:37 | 显示全部楼层
Post by asert
嗯,我也有经过这一步,用dpkg-reconfigure xserver-xfree86配置时,我选的是advance,
但是好象没有你说的配置分辨率,他要我给它 HorizSync ,ertRefresh ;因为我不会所以就没有修改
它默认填在上面的数据;后来就配成了这样;
HorizSync ,VertRefresh该怎么填写阿?
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh   43-75
Option "DPMS"
EndSection

这里的HorizSync ,VertRefresh配置的太低吧.google一下,可以查到显示器具体的HorizSync ,VertRefresh,更改后,应该会出现85Hz

回复 支持 反对

使用道具 举报

发表于 2005-12-17 08:40:44 | 显示全部楼层
Post by longfei_007
我还没见过Debian的刷新率上过85的呢!如果那位哥们配制上了85请指教下是怎么设置上去的.
在windows的时候刷新率用85习惯了.呵呵


………………一直都用的85。上网找一下自己显示器的参数吧,水平/垂直刷新频率搞对就成了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表