LinuxSir.cn,穿越时空的Linuxsir!

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

请问如何调整屏幕分辨率?

[复制链接]
发表于 2009-1-21 17:27:55 | 显示全部楼层 |阅读模式
无意中发现我的机器按ctrl+alt  + 不能调整屏幕分辨率,请问各位用什么方法调整屏幕分辨率(debian unstable)?谢谢!!
发表于 2009-1-21 21:57:35 | 显示全部楼层
你用的是什么桌面,我用kde,在控制中心里有
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-22 00:48:40 | 显示全部楼层
kde,奇怪的是控制中心里不能调整。。。。。。。
回复 支持 反对

使用道具 举报

发表于 2009-1-22 16:11:45 | 显示全部楼层
在xorg.conf里搞搞不就行了.
回复 支持 反对

使用道具 举报

发表于 2009-1-22 22:41:42 | 显示全部楼层
貌似桌面环境是读取xorg.conf中得设置之后才对用户提供相应的设置的,所以你可以直接修改xorg.conf,如果这个设置正确了桌面环境才能提供正确得选项。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-23 02:19:05 | 显示全部楼层
最大的问题是我修改过xorg.conf还是没有反应。。。。。。。不知是那里出错了,可否贴个文件出来参考参考。。。。谢谢!!
回复 支持 反对

使用道具 举报

发表于 2009-1-23 05:32:35 | 显示全部楼层
你装了驱动没有。如果是nvidia也可以用nvidia-settings来设置分辨率的。用root用户可以保存为xorg.conf。

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@me)  Tue Oct 21 18:50:14 CST 2008

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Mouse1" "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "OffTime" "1"
EndSection

Section "Files"

        #FontPath     "/usr/share/fonts/SIMSUN+MINGLIU"
    RgbPath         "/usr/share/X11/rgb"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
    FontPath        "/usr/share/fonts/winfonts"
EndSection

Section "Module"
    Load           "extmod"
    Load           "record"
    Load           "dbe"
    Load           "GLcore"
    Load           "xtrap"
    #Load           "dri"
    Load           "glx"
    Load           "wfb"
    Load           "freetype"
    Load           "type1"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "rotocol" "ImPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
        #Option      "Buttons"      "5"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "rotocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
        #Option      "Buttons" "9"
    Option         "ButtonMapping" "1 8 3 2 9"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HILIPS 109B6"
    HorizSync       30.0 - 97.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Unknown Board"
    #Option         "NoLogo" "true"
    Option         "DPMS" "TRUE"
    Option         "Coolbits" "1"
    BusID          "CI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9500 GT"
    Option         "NoLogo" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1152x864_75.00 +0+0; 1152x864 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-23 17:50:06 | 显示全部楼层
问题解决了,原来是朋友在升级机器的时候,把换下来淘汰的显卡也顺便帮我的机器“升级”了一下。。。。谢谢各位的帮忙
回复 支持 反对

使用道具 举报

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

本版积分规则

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