XFCEの各モニターには別々のワークスペースがあります。

XFCEの各モニターには別々のワークスペースがあります。

私は、XFCEのワークスペースまたは別々のXサーバーを介して2つの物理モニターに2つの別々の画面を構成する方法を探しています。グラフィックカード統合Intel:

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)

私はできるだけ多くの方法を検索しましたが、すべてかなり古く、ほとんど古いです(Xineramaを使用してXrandrに置き換えられていることが知られています)、まだマルチヘッド/マルチワークスペース設定のための実行可能なソリューションを見つけることができませんでした。

背景:システムには1つの「実際の」モニターがあり、別のモニターは特定のウィンドウのみを表示するようになっています(ユーザーがウィンドウをその上にドラッグできないようにするなど)。オペレーティングシステムはXubuntu 18.04です。

気づく:これは技術スタックが設計者によって明確に定義されているため、XFCEとXfwmを使用して達成する必要があります。

ベストアンサー1

多くの実験の最後にZaphodHeads記載されているIntelドライバオプションを使用して問題を解決しました。これメールスレッド。ジョブ構成は次のとおりです。

# Put this in /usr/share/X11/xorg.conf.d/99-dualscreen.conf

Section "Device"
    Identifier     "Intel0"
    Driver         "intel"
    BusID          "PCI:0:2:0"
    Screen         0
    Option         "MonitorDP" "DP1"
    Option         "ZaphodHeads" "DP1"
EndSection

Section "Device"
    Identifier     "Intel1"
    Driver         "intel"
    BusID          "PCI:0:2:0"
    Screen         1
    Option         "MonitorVGA" "VGA1"
    Option         "ZaphodHeads" "VGA1"
EndSection

Section "Monitor"
    Identifier     "MonitorDP"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "MonitorVGA"
    Option         "DPMS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Option         "AutoServerLayout" "on"
    Device         "Intel0"
    Monitor        "MonitorDP"
    SubSection     "Display"
        Viewport   0 0
        Depth      24
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Option         "AutoServerLayout" "on"
    Device         "Intel1"
    Monitor        "MonitorVGA"
    SubSection     "Display"
        Viewport   0 0
        Depth      24
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier     "Multihead"
    Option         "AutoServerLayout" "on"
    Screen         0  "Screen0"
    Screen         1  "Screen1"
EndSection

この構成では、DisplayPort()に接続されている画面がメインDP1画面(DISPLAY=:0.0)になり、キーボードとマウスを使用でき、VGA1VGA()に接続されている他のモニタは入力デバイスと呼ばれ、DISPLAY=:0.1入力デバイスを介して接続できません。 。

おすすめ記事