红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

修改ubuntu登录界面分辨率

发布时间:2008-04-10 22:20:10来源:红联作者:CoDi
  某一次ubuntu8.04系统升级后,重启之后,发现界面分辨率给改变了,分辨率过低,导致登录界面只在显示器上显示出来了一部分。进入系统后,找不到有关于登录界面分辨率的设置,后发现,可通过修改/etc/X11/xorg.conf文件来进行设置,打开xorg.conf文件,找到下面一段:

引用:
Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
Defaultdepth 24
SubSection “Display”
Depth 24
Virtual 1024 768
Modes “1024×768@75″ “1024×768@70″ “832×624@75″ “1024×768@60″ “800×600@60″ “1152×864@75″ “800×600@75″ “1280×1024@75″ “800×600@72″ “1280×960@60″ “800×600@56″ “1280×1024@60″ “640×480@75″ “1280×960@75″ “640×480@72″ “1400×1050@60″ “640×480@60″ “1600×1200@65″ “1600×1200@60″
EndSubSection
EndSection


  上面一段中的一些信息,因每个人的机器不同,所以其中有些值是不同的,上面的是在我文件中的信息。

  好了,现在你想要把登录界面修改成什么分辨率,就修改Virtual后面的两个数值。

  比如,我的设置成了 Virtual 1024 768,那么我登录界面的分辨率就是1024X768的。
文章评论

共有 6 条评论

  1. gunsus 于 2008-08-01 00:06:01发表:

    修改不了呀,没有权限,怎么办?

  2. rainbowrong 于 2008-05-09 02:13:07发表:

    我的是这样的,
    # xorg.conf (X.Org 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 xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "cn"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    EndSection

    Section "Device"
    Identifier "Configured Video Device"
    Driver "nvidia"
    Option "NoLogo" "True"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    Defaultdepth 24
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    screen "Default Screen"
    EndSection
    Section "Module"
    Load "glx"
    EndSection

    不知道改哪里,好像更新完驱动以后可以设置的吧。??

  3. 相思爱文 于 2008-05-08 22:32:08发表:

    我直接用710的xorg.conf

  4. jakeycool 于 2008-05-08 21:35:38发表:

    按楼主所教的方法搞定了,谢谢楼主(6)m:b

  5. yuijuj 于 2008-04-25 16:39:34发表:

    no ,it is of no use at least for my system

  6. 感情拓荒者 于 2008-04-13 23:06:05发表:

    有其它人试过成功吗?