Xorg配置,用于从两个监视器创建虚拟显示

时间:2019-07-15 15:06:03

标签: xorg

我正在尝试从具有(A)1920x1080(B)1920x510分辨率的两个监视器创建单个虚拟显示器。我尝试使用以下Xorg配置将它们排列在“ A和A作为主监视器的A的左侧B”中。 Xorg总是从最左边的监视器开始x,y(0.0)坐标。知道如何更改配置文件以从最右边的监视器开始X, Y (0,0)坐标吗?

    Section "ServerLayout"
        Identifier     "VIRTUAL_DISPLAY"
        Screen      0  "Screen0"
EndSection

Section "Monitor"
        Identifier   "DISPLAY-A"
        Option       "VendorName" "ATI Proprietary Driver"
        Option       "ModelName" "Generic Autodetecting Monitor"
        Option       "PreferredMode" "1920x1080"
        Option       "Position" "0 0"
        Option       "DPMS" "true"
        Option       "TargetRefresh" "60"
        Option       "Rotate" "normal"
        Option       "Disable" "false"
        Option       "Primary" "true"
EndSection

Section "Monitor"
        Identifier   "DISPLAY-B"
        Option       "VendorName" "ATI Proprietary Driver"
        Option       "ModelName" "Generic Autodetecting Monitor"
        Option       "PreferredMode" "1920x510"
        Option       "LeftOf" "DISPLAY-A"
        Option       "DPMS" "true"
        Option       "TargetRefresh" "60"
        Option       "Rotate" "normal"
        Option       "Disable" "false"
EndSection

Section "Device"
        Identifier  "Device0"
        Driver      "radeon"
        Option "Monitor-DisplayPort-2" "DISPLAY-B"
        Option "Monitor-DisplayPort-0" "DISPLAY-A"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Device0"
        Monitor    "DISPLAY-A"
        DefaultDepth     24
        SubSection "Display"
               Viewport  0 0
                Depth     24
                Modes     "1920x1590"
                Virtual   1920 1590
        EndSubSection
EndSection

0 个答案:

没有答案