You are not logged in.
On my eeebox (with an Intel 945GME chipset) with DVI-I output I usually use a monitor with DVI input, but sometimes I connect it to my tv using an DVI-HDMI cable. Everything works fine with the next 10-monitor.conf file. As you can see, I'll have to uncomment two lines and comment out the other two to select a different monitor section (the option line is necessary to select the correct output line, otherwise it will default to 'VGA1').
Section "Monitor"
Identifier "Neovo"
VertRefresh 50-70
…
EndSection
Section "Monitor"
Identifier "Sony"
ModeLine "1280x720@60" …
PreferredMode "1280x720@60"
EndSection
Section "Device"
…
Option "monitor-DVI1" "Neovo"
# Option "monitor-DVI1" "Sony"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "Neovo"
# Monitor "Sony"
EndSection
Can I automatically choose another section when a different monitor is connected (e.g., using a wrapper script that detects the monitor and puts the corresponding 10-monitor.conf in xorg.conf.d before starting the X server)? Both monitors are correctly recognized by X.
Offline