
Linux Live-Distro を構築しています。
私の xorg.conf は次のようになります:
Section "Monitor"
Identifier "Monitor0"
Option "dpms" "off"
Option "dpms" "false"
DisplaySize 349 196
#does NOT work
PreferredMode "1360x768"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1360x768" "1280x720" "1024x768" "800x600"
EndSubSection
EndSection
だから、毎回(テスト用)フルHDテレビを接続すると、1920x1080変更する場合
Modes "1360x768" "1280x720" "1024x768" "800x600"
の中へ
Modes "1280x720" "1360x768" "1024x768" "800x600"
テレビは1280x720を使用します。
「画面」セクションで定義されているように、モードを強制的に切り替えることは可能ですか?
私の考えでは、xorg-server は「1360x768」への切り替えを試み、動作しない場合は「1280x720」に切り替え、その後 1024x768 に切り替えます (xorg.conf での定義に従って)。
よろしくお願いいたします
答え1
最新の Xorg では xorg.conf はまったく必要ありません。接続されているすべてのハードウェア (ディスプレイ デバイス、画面、入力デバイス) を自動検出し、実行時に適切に構成します。ホットプラグもサポートされています。