如何强制分辨率为1024×768?

回到ubuntu 9,支持的最大分辨率为960×600,通过编辑xorg.conf,我能够获得1024×768分辨率。 我最近安装了ubuntu 11.10 ..现在再次我可以进入显示面板的最大分辨率是960×600 ..我尝试编辑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 

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

     gksu gedit /etc/X11/xorg.conf 
  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 
  3. 保存您的编辑,然后重新启动(注销并重新登录或重新启动)。

请享用。

这是我使用xrandr在75hz强制重新生成1280×1024的解决方案…将以下内容放在〜/ .xprofile中

 #!/bin/bash xrandr --newmode "1280x1024_75.00" 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync xrandr --addmode VGA1 "1280x1024_75.00" xrandr --output VGA1 --mode "1280x1024_75.00" 

注意:VGA1是您要调整的显示设备…您也可以使用cvt命令创建您可能需要/需要的任何新模式行。 我找到了参考URI: https : //wiki.ubuntu.com/X/Config/Resolution

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

 gksudo gedit /etc/X11/xorg.conf 

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

如果您在达到目标后需要更多帮助,请编辑您的问题,我们可以继续。 🙂

我有一个非常类似的问题,我按照这些步骤可靠地工作。 试试看!