Julien Cristau, 2014-07-24 22:46+0200:
I don't know what you think is incorrect about the existing text.
The existing texts is about an option named “Enable”, which may or may not exist, but does nothing and is thus useless to mention. The behaviour expected from that option (disabling a monitor at server startup) is achieved by using the option “Disable” which is not documented at all.
To be more specific, according to the man page:
Option "Enable" "bool" This optional entry specifies whether the monitor should be turned on at startup. By default, the server will attempt to enable all connected monitors. (RandR 1.2-supporting drivers only)
The following configuration should disable the projector monitor at startup:
Section "Device" Identifier "Intel HD Graphics" Option "Monitor-HDMI2" "Main" Option "Monitor-HDMI1" "Projector" EndSection Section "Monitor" Identifier "Main" EndSection Section "Monitor" Identifier "Projector" Option "Enable" "false" EndSection
But it does not work, and the projector is turned on at startup. On the contrary, the following, which uses an undocumented option “Disable” does disable the projector at startup:
Section "Device" Identifier "Intel HD Graphics" Option "Monitor-HDMI2" "Main" Option "Monitor-HDMI1" "Projector" EndSection Section "Monitor" Identifier "Main" EndSection Section "Monitor" Identifier "Projector" Option "Disable" "true" EndSection
My patch aims at correcting that by simply replacing the incorrect option “Enable” by the correct one “Disable” in the man page. It also does a small change in the explanation text since this option is used the reverse way:
Option "Disable" "bool" This optional entry specifies whether the monitor should be turned off at startup. By default, the server will attempt to enable all connected monitors. (RandR 1.2-supporting drivers only)
Librement, -- ,--. : /` ) ن Tanguy Ortolo <xmpp:tan...@ortolo.eu> | `-' Debian Developer <irc://irc.oftc.net/Tanguy> \_
signature.asc
Description: Digital signature