两台显示器就像一台显示器一样工作

两台显示器就像一台显示器一样工作

我有 3 个显示器(1 个在 Intel 卡上,2 个在 Nvidia 卡上)。经过一些魔法之后,xorg.conf它们开始工作,但是两个 Nvidia 显示器的工作方式就好像它们是一个宽显示器(任何最大化的窗口都会覆盖两个显示器并最终在中间分开)。

    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      2  "Screen2" RightOf "Screen0"
        Screen      1  "Screen1" RightOf "Screen2"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "Xinerama"      "on"
    EndSection

    Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
EndSection

    Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    EndSection

    Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    EndSection

    Section "Monitor"
        Identifier   "Monitor2"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    EndSection

    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"

    EndSection

    Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        Option     "TwinView" "0"
    EndSection

    Section "Screen"
        Identifier "Screen2"
        Device     "Card1"
        Monitor    "Monitor2"
        Option     "TwinView" "0"
    EndSection

如何配置我的窗口系统以便它正确识别监视器边界?

相关内容