デュアルスクリーンからデュアルモニターに切り替える

デュアルスクリーンからデュアルモニターに切り替える

2つの物理ディスプレイが接続されているRaspberry Piに似た名前のないSBCがあります(1つはHDMI経由、1つはSPI経由)。以下は、2つの別々のX画面(:0.0と:0.1)を提供するxorg設定です。

### HDMI

Section "Device"
    Identifier  "device0"
    Driver      "fbdev"
    Option      "fbdev" "/dev/fb0"
EndSection

Section "Monitor"
    Identifier  "monitor0"
    Option      "Rotate" "normal"
    Modeline    "1920x1080_60.00"       172.80  1920  2040   2248  2576   1080   1081   1084  1118   -HSync +Vsync
EndSection

Section "Screen"
    Identifier  "screen0"
    Device      "device0"
    Monitor     "monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "1920x1080_60.00"
    EndSubSection
EndSection

### SPI

Section "Device"
    Identifier  "device1"
    Driver      "fbdev"
    Option      "fbdev" "/dev/fb1"
    Option      "SwapbuffersWait" "true"
EndSection

Section "Monitor"
    Identifier  "monitor1"
    Option      "Primary" "False"
EndSection

Section "Screen"
    Identifier "screen1"
    Monitor "monitor1"
    Device "device1"
    Subsection "Display"
        Depth 16
        Modes "320x240"
    EndSubSection
EndSection

### Layouts

Section "ServerLayout"
    Identifier "multihead"
    Screen  0 "screen0"
    Screen  1 "screen1" rightof "screen0"
EndSection

Section "ServerFlags"
    Option "DefaultServerLayout" "multihead"
EndSection

別の画面の代わりに0と:1という2つの別々のディスプレイを実装するには(可能な場合)、どのような変更が必要ですか?画面の代わりにディスプレイで構成されたServerLayoutを作成することは可能ですか?

ベストアンサー1

おすすめ記事