你好,我一直试图在Ubuntu18.04下为我的笔记本电脑安装第二个监视器,我似乎无法正确地缩放第二个监视器。
我的显示器是:
由于大多数人在15英寸的显示器上使用4K分辨率,我使用GNOME将显示器缩放到200%。问题是gnome不能以不同的方式缩放不同的显示器。因此,当我连接到另一个显示器时,我会在我的24英寸显示器上放大到“重要”。
阿斯特在网上看了一会儿,我试着使用arandr,但没有结果,然后我偶然发现了这个职位。
它很好地解释了如何使用XrandR设置2个显示器。不幸的是,这似乎不能解决我的问题。
考虑到我希望我的第二个监视器在我的笔记本屏幕的左边,并且我的xrandr -q返回:
Screen 0: minimum 320 x 200, current 6400 x 2160, maximum 8192 x 8192
eDP-1 connected primary 3840x2160+2560+0 (normal left inverted right x axis y axis) 344mm x 194mm
3840x2160 60.00*+ 59.98 59.97
3200x1800 59.96 59.94
2880x1620 59.96 59.97
2560x1600 59.99 59.97
2560x1440 59.99 59.99 59.96 59.95
2048x1536 60.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
2048x1152 59.99 59.98 59.90 59.91
1920x1200 59.88 59.95
1920x1080 60.01 59.97 59.96 59.93
1600x1200 60.00
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-1-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 526mm x 296mm
2560x1440 59.95*+
1920x1200 59.95
2048x1080 60.00 24.00
1920x1080 60.00 60.00 50.00 59.94 24.00 23.98
1600x1200 60.00
1680x1050 59.88
1280x1024 75.02 60.02
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00 50.00
720x480 60.00 60.00 59.94 59.94
640x480 75.00 60.00 59.94 59.94
720x400 70.08
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
DP-2-1 disconnected (normal left inverted right x axis y axis)
DP-2-2 disconnected (normal left inverted right x axis y axis)
DP-2-3 disconnected (normal left inverted right x axis y axis)以下是我尝试过的:
xrandr --output DP-1-1 --scale 2x2 --fb 6400x2160 --pos 0x0
xrandr --output eDP-1 --scale 1x1 --pos 2560x0不幸的是,它所提供的是:
xrandr: specified screen 6400x2160 not large enough for output DP-1-1 (5120x2880+0+0)我的两个显示器重叠了。
最近真的很麻烦我,所以如果你们中的任何一个知道如何解决这个问题,我们会非常感激的。
谢谢。
发布于 2021-08-27 08:34:03
为了回答Shinigami和其他人在这条线上绊倒的问题,我确实找到了一种方法来使它发挥作用。
我最后所做的是将DPI和两个屏幕的最终大小放在一起:
xrandr --dpi 331 --fb 7424x2448其次是:
xrandr --output DP-1-1 --scale 1.7x1.7 --pos 0x0和
xrandr --output eDP-1 --scale 0.8x0.8 --pos 4352x0这是很好的调整我的问题,但我可以解释得更广泛,如果有人要求。
发布于 2019-11-19 11:08:19
使用arandr定位窗口并使用以下命令进行缩放
xrandr --output eDP1 --scale 2x2 --mode 3840x2160
xrandr --output DP1 --scale 1x1 --mode 2560x1440安装arandr
aptitude install arandr发布于 2019-11-19 12:18:24
输出eDP1规模2x2模式3840x2160
虽然这看上去不太对,但我还是试了一下,得到了这样的结果:
xrandr: screen cannot be larger than 8192x8192 (desired size 10240x4320)编辑:
以防万一,如果你是说
xrandr --output DP-1-1 --scale 2x2 --mode 2560x1440
xrandr --output eDP-1 --scale 1x1 --mode 3840x2160我试过了,屏幕仍然重叠,arandr不让我设置它们:

https://askubuntu.com/questions/1190011
复制相似问题