LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]xorg.conf 如何定义显示中心?

[复制链接]
发表于 2007-11-26 14:04:32 | 显示全部楼层 |阅读模式
如图 虽然在gnome里可以调节分辨率使得显示正常,可是gdm依然是这样子,偏离了中心很多,请问如何设置?附 gdm登录图,我用手机照的,不是很清楚
附我的xorg.conf  显卡ati radeon 9550
#####################################
Section "ServerLayout"
        Identifier     "Default Layout"
        Screen        0  "Default Screen" 0 0
        InputDevice    "Keyboard1"
        InputDevice    "Mouse1"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/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/"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Device"                "/dev/input/mice"
        Option      "rotocol"              "ImPS/2"
        Option      "Emulate3Buttons"       "true"

EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules"      "xorg"
        Option      "XkbModel"      "pc104"
        Option      "XkbLayout"     "us"

EndSection

Section "Monitor"
        Identifier  "aticonfig-Monitor[1]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "ATI Technologies, Inc. RV350 AS [Radeon 9550]"
        Driver      "fglrx"
        Option      "UseFBDev" "true"
        Option      "DesktopSetup" "horizontal,reverse"  /// 这里的设置有问题,单个显示器时正确的设置时Single
        Option      "HSync2" "30-71"
        Option      "VRefresh2" "50-160"
        Option      "seudoColorVisuals" "off"
        Option      "OpenGLOverlay" "off"
        Option      "VideoOverlay" "off"
        BusID       "CI:1:0:0"
EndSection


Section "Screen"
        Identifier "Default Screen"
#       Identifier "aticonfig-Screen[1]"
        Device     "ATI Technologies, Inc. RV350 AS [Radeon 9550]"
#       Device     "aticonfig-Device[1]"
        Monitor    "aticonfig-Monitor[1]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection



Section "Extensions"
        Option      "Composite" "Enable"
EndSection

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2007-11-26 15:06:51 | 显示全部楼层
简单,重新换个gdm主题包,换成"1152x864" "1024x768"的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-26 15:18:23 | 显示全部楼层
也就是说一个gdm主题对应着一个分辨率?

可是我在gnome的登录窗口设置中没有找到改分辨率的
回复 支持 反对

使用道具 举报

发表于 2007-11-26 17:00:27 | 显示全部楼层
Post by erlv5241;1787885
也就是说一个gdm主题对应着一个分辨率?

有的gdm主题是特别针对某个分辨率设计的,我的理解是小于等于你当前分辨率
的主题应该正常,不知你的是不是这种情况。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-26 17:13:43 | 显示全部楼层
我用的是gnome默认的gdm  
以前用debian的时候没有这种情况,我绝对可能是显示范围需要作一下限定
回复 支持 反对

使用道具 举报

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

本版积分规则

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