如何强制分辨率为 1024x768?

nep*_*lic 11 xorg resolution

回到 ubuntu 9,支持的最大分辨率是 960x600,通过编辑 xorg.conf,我能够获得 1024x768 的分辨率。我最近安装了 ubuntu 11.10 .. 现在我可以在显示面板中获得的最大分辨率再次是 960x600 .. 我尝试编辑 xorg 但没有 xorg 并且当我尝试创建一个访问时被拒绝。

我是 linux 命令的新手,因此,将不胜感激分步帮助。

我添加了/etc/X11/xorg.conf包含:

Section "Device"
    Identifier    "Configured Video Device"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
    HorizSync       30.0-62.0
    VertRefresh     50.0-70.0
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    DefaultDepth    24
    SubSection "Display"
        Depth    24
        Modes     "1024x768" "800x600"
    EndSubSection
EndSection 
Run Code Online (Sandbox Code Playgroud)

小智 7

  1. 在终端中输入以下命令:

    gksu gedit /etc/X11/xorg.conf
    
    Run Code Online (Sandbox Code Playgroud)
  2. 将以下选项复制并粘贴到该文件中:

    Section "Device"
        Identifier    "Configured Video Device"
    EndSection
    
    Section "Monitor"
        Identifier    "Configured Monitor"
        HorizSync       30.0-62.0
        VertRefresh     50.0-70.0
    EndSection
    
    Section "Screen"
        Identifier    "Default Screen"
        Monitor        "Configured Monitor"
        Device        "Configured Video Device"
        DefaultDepth    24
        SubSection "Display"
            Depth    24
            Modes     "1024x768" "800x600"
        EndSubSection
    EndSection 
    
    Run Code Online (Sandbox Code Playgroud)
  3. 保存您的编辑,然后重新启动(注销并重新登录或重新启动)。

享受。

  • 关于 HorizSync 和 VertRefresh 行,您应该通过检查其文档来根据显示器的频率范围验证此处的值。 (2认同)

dpb*_*dpb 1

您可以按照之前使用的相同方法进行操作,但如果您需要创建 xorg.conf,请按如下所示操作。从命令行(“终端”):

gksudo gedit /etc/X11/xorg.conf
Run Code Online (Sandbox Code Playgroud)

将您的配置粘贴到那里并保存。现在该文件应该存在,并且您应该能够像以前一样编辑它。

如果您在完成此操作后需要更多帮助,请编辑您的问题,我们可以继续。:)