我尝试对 xrandr 进行一些自定义,但是现在当我添加第二个屏幕时,我的第一个屏幕的虚拟尺寸会增加到两个显示器的尺寸!
当我将光标移到第二个显示屏时,第一个显示屏也会滑动到屏幕的这一部分,就像它是大屏幕上的一个小窗口一样。
我的 xrandr 配置只有我的第一个显示已启用(LVDS1),即在启用我的第二个显示器(HDMI1):
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 214mm panning 1600x900+0+0
1600x900 60.06*+
1440x900 59.89
1368x768 60.00
1360x768 59.80 59.96
1152x864 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
800x450 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1152x864 75.00
1280x720 60.00 50.00 59.94
1440x576 50.00
1024x768 75.08 70.07 60.00
1440x480 60.00 59.94
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
使用 ubuntu 显示管理器或 xrandr --output HDMI1 --right-of LVDS1 --mode 1920x1080 添加第二个显示器后我的 xrandr 配置:
Screen 0: minimum 8 x 8, current 3520 x 1080, maximum 32767 x 32767
LVDS1 connected primary 3520x1080+0+0 (normal left inverted right x axis y axis) 382mm x 214mm panning 3520x1080+0+0
1600x900 60.06*+
1440x900 59.89
1368x768 60.00
1360x768 59.80 59.96
1152x864 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
800x450 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1152x864 75.00
1280x720 60.00 50.00 59.94
1440x576 50.00
1024x768 75.08 70.07 60.00
1440x480 60.00 59.94
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
请注意,我的 LVDS1 尺寸从 1600x900+0+0 变为 3520x1080+0+0。
有人知道如何找到问题吗?
谢谢
答案1
好的,我认为我通过运行修复平移解决了我的问题,这可能是我的第一个显示器滑动的原因:
xrandr --output LVDS1 --panning 1600x900