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 / 问题 / 1038140
Accepted
Alexis Drakopoulos
Alexis Drakopoulos
Asked: 2018-05-20 08:20:08 +0800 CST2018-05-20 08:20:08 +0800 CST 2018-05-20 08:20:08 +0800 CST

WIN10 上的 VMWARE Workstation player 14 和 4K 显示器上的 Ubuntu 18.04 修复 DPI 缩放

  • 772

我想了解更多关于 linux 的知识,所以我下载了 ubuntu iso,并在 vmware 中启动它。

但是我找不到任何强制 DPI 缩放的方法,除了尝试更改实际分辨率之外,显示设置下没有其他选项。

我尝试了多种修复方法,例如兼容性模式,这些:

xrandr --output eDP1 --scale 1.25x1.25

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

我在其他 stackexchange 帖子中找到的。

他们都不为我工作。


还有其他解决方案吗?我在戴尔 XPS 15 9560 4K 15.6 英寸笔记本电脑上,如果没有 x2 - x2.5 缩放,ubuntu 将无法使用。


运行 xrandr 的输出:

Screen 0: minimum 1 x 1, current 3840 x 1919, maximum 8192 x 8192
Virtual1 connected primary 3840x1919+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   3840x1919     60.00*+
   2560x1600     59.99  
   1920x1440     60.00  
   1856x1392     60.00  
   1792x1344     60.00  
   1920x1200     59.88  
   1600x1200     60.00  
   1680x1050     59.95  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      60.02  
   1280x800      59.81  
   1152x864      75.00  
   1280x768      59.87  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
Virtual2 disconnected (normal left inverted right x axis y axis)
Virtual3 disconnected (normal left inverted right x axis y axis)
Virtual4 disconnected (normal left inverted right x axis y axis)
Virtual5 disconnected (normal left inverted right x axis y axis)
Virtual6 disconnected (normal left inverted right x axis y axis)
Virtual7 disconnected (normal left inverted right x axis y axis)
Virtual8 disconnected (normal left inverted right x axis y axis)
vmware display hdpi
  • 1 1 个回答
  • 1292 Views

1 个回答

  • Voted
  1. Best Answer
    Lienhart Woitok
    2018-05-20T09:18:21+08:002018-05-20T09:18:21+08:00

    您已经找到的xrandr命令使用了错误的输出 eDP1,它通常是笔记本显示器。在您的xrandr输出中,您会看到一行

    Virtual1 connected primary 3840x1919+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
    

    该行 ( Virtual1) 中的第一个单词是输出名称,因此在命令中使用它应该可以:

    xrandr --output Virtual1 --scale 0.5x0.5

    请注意,这不是永久设置,因此在重新启动后,您必须再次输入该命令。我没有使用 gnome,所以我不能告诉你是否可以在 gnome 设置中的某个地方进行设置。我自己有一个显示器设置在使用不同的 DPI 并使用类似的 xrandr 命令并进行了键绑定,因此我可以在连接屏幕后按下一个键。

    • 0

相关问题

  • 如何使用 nvidia 驱动程序更改三星 R519 上的屏幕亮度

  • 来宾在 VMware Player 中调整 Ubuntu 10.04 64 位大小不起作用 [关闭]

  • vmware/virtualbox 3d 加速

  • 更改主监视器

  • 哪个更好:Win7 主机运行 VMware 和 Ubuntu 来宾,反之亦然?

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