Author Login
Post Reply
Quoting Olivier Blin <blino@(protected)>:
> Paulo Cesar Pereira de Andrade <pcpa@(protected):
>
>>> I'm strongly against moving configuration files such as xorg.conf into
>>> /usr/share/X11. This is in a clear violation of FHS and our general policy.
>>> There should be *no* configuration files under /usr.
>>>
>> I see the reasoning on /etc/X11/xorg.conf and /etc/X11/fs/config.
>> Everything else, while being a "system wide default configuration
>> file", is most likely to never be changed, or there is an alternative
>> for a per user customization file.
>
> While I agree that some scripts are not configuration files and could
> be moved to /usr/share/X11 (xinit.d/*, xsetup.d/*), we still want the
> system administrator to be able to add more scripts in /etc/X11, like
> Pixel points out.
> It's also true for /etc/X11/wmsession.d/, where an admin might want to
> add more sessions, without messing with /usr
Note that things only on <basedir>/X11 have been moved, and things
that don't belong to Xorg should really be in a directory like
/etc/sysconfig, probably with a symlink to /etc/X11/sysconfig (that
would also be /usr/share/X11/sysconfig).
The major reasoning for doing this is because /etc/X11, /usr/lib/X11,
/usr/share/X11, and /usr/X11R6/... were different directories, and
with not a clear definition of what belongs to where, and different
packages with different interpretations of what is correct.
>> Maybe xorg.conf will still be used when we upgrade to X Server 1.5,
>> but a signficant portion of it will be handled by dbus/hal, and
>> xfs is obsolete.
>
> What if one wants to switch from non-free to free driver for example?
This is also one of the reasons hal/dbus support are disabled in our
current X Server, and also a reason to still have xorg.conf. The X Server
has logic to load all drivers, and choose the best matching (first one)
to manage the hardware.
I had a bug report opened on freedesktop about it, but it was closed
as WONTFIX, and the reasoning was that the X Server only handles
information from xorg.conf and hal, and if one conflicts with the other,
it is not a X Server problem...
> --
> Olivier Blin (blino) - Mandriva
Paulo