[PATCH] xfree86: Allow a config directory for multiple config files
Peter Hutterer
peter.hutterer at who-t.net
Mon Dec 7 18:21:13 PST 2009
On Fri, Nov 27, 2009 at 09:34:00AM -0800, Dan Nicholson wrote:
> Currently there is a single file, xorg.conf, for configuring the server.
> This works fine most of the time, but it becomes a problem when packages
> or system services need to adjust the configuration. Instead, allow
> multiple configuration files to live in a directory. Typically this will
> be /etc/X11/xorg.conf.d.
>
> Right now this uses the same matching templates as the config file but
> with a different default name. The matching code was refactored a bit to
> make this more coherent. It also won't fall back to using the auto
> configuration unless both the config file and config directory don't
> exist.
>
One more thing about this patchset. what's the behaviour if the server is
run with Xorg -config foobar.conf?
Does it still scan xorg.conf.d? If so, we need an option to disable that so
one can force _only_ the use of a custom xorg.conf, without system
configurations interfering.
Cheers,
Peter
More information about the xorg-devel
mailing list