NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Modular X or system X?
On 20 August 2015 at 11:58, Ottavio Caruso <ottavio2006-netbsd%yahoo.com@localhost> wrote:
> On 20 August 2015 at 11:56, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
>>> Does the built-in xorg support custom files in /etc/X11/xorg.conf.d/ ?
>>
>> If this is a Xorg feature, it shoudl.
>
>
> My last installation was 6.1.3 (late 2013) over amd64 and I'm pretty
> sure this feature wasn't there. When did NetBSD switch over to
> modular?
From a local install of 6.0.1, man xorg.conf gives:
DESCRIPTION
Xorg uses a configuration file called xorg.conf and files ending in the
suffix .conf from the directory __xconfigdir__ for its initial setup.
[...]
Additional configuration files are searched for in the following
directories when the server is started as a normal user:
/etc/X11/<cmdline>
__sysconfdir__/X11/<cmdline>
/etc/X11/__xconfigdir__
__sysconfdir__/X11/__xconfigdir__
where <cmdline> is a relative path (with no ``..'' components)
specified with the -configdir command line option.
When the Xorg server is started by the ``root'' user, the config
directory search locations are as follows:
<cmdline>
/etc/X11/<cmdline>
__sysconfdir__/X11/<cmdline>
/etc/X11/__xconfigdir__
__sysconfdir__/X11/__xconfigdir__
where <cmdline> is the path specified with the -configdir command line
option (which may be absolute or relative).
Additonally starting it:
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
I put a dummy broken file in /etc/X11/xorg.conf.d (which I had to
create) and got the following:
Parse error on line 1 of section (null) in file /etc/X11/xorg.conf.d/foo.conf
"broken" is not a valid keyword in this section.
so it looks like it's supported. :)
Cheers,
Ian
Home |
Main Index |
Thread Index |
Old Index