我有一台运行 Xubuntu 20.04 的机器,带有三个显示器。目前,我为每个监视器配置了一个单独的屏幕(显示:0.0、:0.1 和:0.2),这很适合其预期用途。但是对于其他用途,最好在所有三个显示器上都有一个屏幕(所有三个显示器都显示:0.0)。我使用 nvidia-settings 实现了这个设置,它似乎修改了 /etc/X11/xorg.conf:
# nvidia-settings: version 470.57.01
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 1920 0
Screen 1 "Screen1" 3840 0
Screen 2 "Screen2" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
此配置似乎会影响所有用户。如何设置一个用户使用三屏配置,而其他用户将所有三台显示器作为一个屏幕?