Go to file
Dan Nicholson efa5269f23 xfree86: Use xorg.conf.d directory for multiple config files
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.

Files with a suffix of .conf will be read and added to the server
configuration after xorg.conf. The server won't fall back to using the
auto configuration unless there is no config file and there are no files
in the config directory.

Right now this uses a simpler search template than the config file
search path by not using the command line or environment variable
parameters. The matching code was refactored a bit to make this more
coherent. Any DDX wanting to read the config files will need to call
xf86initConfigFiles before opening/reading them. This is to allow
xf86openConfigFile without xf86openConfigDirFiles and vice-versa.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
2009-12-22 23:20:45 -08:00
composite Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
config config: don't shutdown the libhal ctx if it failed to initialize (#23213) 2009-08-14 11:01:20 +10:00
damageext Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dbe Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dix Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
doc Update man-pages for new default font paths 2009-11-25 13:34:36 -08:00
exa EXA/mixed: Don't consider devKind for detecting dimension change. 2009-12-10 09:11:14 -08:00
fb Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
glx Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
hw xfree86: Use xorg.conf.d directory for multiple config files 2009-12-22 23:20:45 -08:00
include xfree86: Use xorg.conf.d directory for multiple config files 2009-12-22 23:20:45 -08:00
m4 dolt: add Cygwin to supported platforms 2009-10-13 20:30:22 -07:00
mi Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
miext Miscellaneous compilation warning fixes 2009-12-08 15:50:28 -08:00
os Merge remote branch 'alanc/master' 2009-12-16 21:58:44 -08:00
randr Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
record Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
render Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
test test/xi2: fail if xi2 class type is garbage. (#25492) 2009-12-22 21:30:52 -08:00
Xext Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
xfixes Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
Xi Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
xkb Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac xfree86: Use xorg.conf.d directory for multiple config files 2009-12-22 23:20:45 -08:00
COPYING Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
cpprules.in xfree86: Use xorg.conf.d directory for multiple config files 2009-12-22 23:20:45 -08:00
Makefile.am INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 2009-11-11 21:44:24 -08:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Since font modules are dead, don't mention them in xorg-server.pc 2009-07-09 17:21:07 -04:00