Xorg 듀얼 헤드는 키보드 및 마우스 입력만 특정 화면에 매핑합니다.

Xorg 듀얼 헤드는 키보드 및 마우스 입력만 특정 화면에 매핑합니다.

다음은 듀얼 헤드 모니터 구성을 위한 xorg.conf 파일입니다. 다른 화면은 비디오 재생에 사용되므로 키보드와 마우스를 특정 화면에 매핑하면 됩니다. 제공된 구성을 사용하면 명시적인 지침에도 불구하고 마우스가 올바르게 매핑됩니다. 키보드도 올바르게 매핑되었습니다. 그러나 잠시 후 다른 화면으로 전환됩니다. 키보드 및 마우스 입력을 특정 화면에 명시적으로 매핑하는 방법이 있습니까?

Section "ServerLayout"
    Identifier     "Layout1"
    Screen         0 "Screen0" 0 0
    Screen         1 "Screen1" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime"     "0"
    Option "BlankTime"   "0"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/OTF/"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Touchscreen"
    Option       "DPMS"  "false"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "No touchscreen"
    Option       "DPMS"  "false"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "modesetting"
    Option      "ZaphodHeads" "VGA-1"
    BusID       "PCI:0:2:0"
    Screen      1
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "modesetting"
    Option      "ZaphodHeads" "HDMI-2"
    BusID       "PCI:0:2:0"
    Screen      0
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
            Viewport   0 0
            Depth     1
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     4
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     8
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     15
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     16
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
            Viewport   0 0
            Depth     1
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     4
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     8
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     15
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     16
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     24
    EndSubSection
EndSection

관련 정보