AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1028868
Accepted
userDepth
userDepth
Asked: 2018-04-28 09:04:02 +0800 CST2018-04-28 09:04:02 +0800 CST 2018-04-28 09:04:02 +0800 CST

添加新分辨率 1366x768 @ 60 的步骤(疑难解答)

  • 772

我刚刚在笔记本电脑上安装了 Ubuntu MATE 18.04 并进行了双显示器设置,两个显示器都开箱即用,甚至在启动时本机显示器也关闭了。我现在需要在其中一个显示器上使用 1366x768 分辨率,但这不是一个选项。我添加了一个分辨率,但生成的分辨率不正确我不小心添加了 1368x768

再试一次会报错:

cvt 1366 768 60
sudo xrandr --newmode "1366x768_60.00"  85.25  1366 1440 1576 1784  768 771 781 798 -hsync +vsync
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  31
  Current serial number in output stream:  31
display-resolution intel-graphics
  • 1 1 个回答
  • 10928 Views

1 个回答

  • Voted
  1. Best Answer
    xiota
    2018-05-04T23:04:50+08:002018-05-04T23:04:50+08:00

    要将新模式添加到输出中,需要按顺序执行多个命令,如下所示:

    # create and name a new mode: "1366x768-0"
    xrandr --newmode "1366x768-0" 75.61  1366 1406 1438 1574  768 771 777 800 -hsync -vsync
    
    # attach the new mode to an output (VGA1)
    xrandr --addmode VGA1 "1366x768-0"
    
    # turn on the output using the new mode
    xrandr --output VGA1 --mode "1366x768-0"
    

    问题中错误消息的原因是无法更改模式参数。使用新名称(例如“1366x768-1”)或删除添加的模式。删除模式的命令序列如下:

    # turn off the output
    xrandr --output VGA1 --off
    
    # detach the mode from the output
    xrandr --delmode VGA1 "1366x768-0"
    
    # remove the mode
    xrandr --rmmode "1366x768-0"
    

    更改为xrandr无法在重新启动后继续存在。要使设置保持不变,请根据您的设置替换参数并将其保存到脚本中/usr/local/bin并将其添加到Startup Applications. 然后它将在您每次登录时运行。您可能希望在启动时添加它,而不是登录。

    • 2

相关问题

  • X.org 配置文件在哪里?我如何在那里配置 X?

  • 如何安装英特尔 82852/855GM 驱动程序?

  • 显示器分辨率 1366 x 768,检测到错误的 EDID

  • 如何在 10.04 中将 ATI Rage Mobility 128 的分辨率更改为 800x600 以上?

  • 升级到 10.04 后字体模糊,Nvidia 问题?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve