我有四个显示器,我想排列如下:
[CARD0 MONITOR1]
[CARD1 MONITOR1] [CARD1 MONITOR2] [CARD0 MONITOR2]
的输出xrandr
如下:
% xrandr
Screen 0: minimum 8 x 8, current 5120 x 1024, maximum 8192 x 8192
GPU-0.DVI-I-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
1280x1024 75.02*+ 70.00 60.02
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
640x480 75.00 72.81 59.94
GPU-0.DVI-I-1 connected primary 1280x1024+2560+0 (normal left inverted right x axis y axis) 337mm x 270mm
1280x1024 60.02*+ 75.02 70.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
640x480 75.00 72.81 59.94
GPU-0.DVI-I-2 disconnected (normal left inverted right x axis y axis)
GPU-0.DVI-I-3 disconnected (normal left inverted right x axis y axis)
GPU-1.DVI-I-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 337mm x 270mm
1280x1024 60.02*+ 75.02 70.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
640x480 75.00 72.81 59.94
GPU-1.DVI-I-1 connected 1280x1024+3840+0 (normal left inverted right x axis y axis) 330mm x 270mm
1280x1024 75.02*+ 60.02 60.02
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
640x480 75.00 72.81 59.94
例如,我尝试这样做:
xrandr --output GPU-0.DVI-I-0 --screen 0 --output GPU-0.DVI-I-1 --screen 1 --right-of GPU-0.DVI-I-0
但我得到:
Invalid screen number 1 (display has 1)
有人至少可以给出一些关于如何在这种情况下使用 xrandr 的指南吗?
卡是NVIDIA QUADRO NVS290(双头)。
答案1
您可以考虑使用AR和R然后保存布局。保存的布局只是一个自动生成的xrandr
脚本,您可以重复使用和学习。