X11
如何使用 xrandr 配置 4 個顯示器?
我有四台顯示器,我想安排如下:
[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(雙頭)。
您可以考慮使用ARandR然後保存佈局。保存的佈局只是一個自動生成的
xrandr
腳本,您可以重複使用和學習。