Re: X11: app-defaults and XF86Config
"FL" == Frederic Lepied <Frederic.Lepied@sugix.frmug.org> writes:
FL> I think we should move app-defaults which is under
FL> /usr/X11R6/lib/X11 to /etc/X11 because resources files are
FL> configuration files and must be protected from upgrades. This
FL> way /usr/X11R6 can be mounted read-only. One temporary fix
FL> could be to add a symlink from to
FL> /usr/X11R6/lib/X11/app-defaults to /etc/X11/app-defaults.
No, the current way to do things is correct. Changes should not be
bade in the app-defaults files, because they will get overwritten when
the packages is upgraded. The app-defaults files can't become
conffiles, because applications can misbehave, become useless or crash
if it is using an old app-defaults file which doesn't contain the
resources it needs.
Any site X customizations should be put into /etc/X11/Xresources. This
has been discussed about every month or 2.
FL> Another thing about XF86Config, I think the sources of XFree86
FL> should be patched to look at this file under /etc/X11 because if
FL> you use xf86Setup, you loose your config as xf86Setup removes or
FL> backups /usr/X11R6/lib/X11/XF86Config and the symlink is
FL> anylonger present.
xf86Setup is the offending program here, and yes, it should be patched
to look in /etc/X11 for the XF86Config file. This should be reported
as a bug if it isn't already.
-Larry
--
Larry Daffner | Linux: Unleash the workstation in your PC!
vizzie@airmail.net / http://web2.airmail.net/vizzie/
Hare's Law:
Inside every large program is a small program struggling to get out.
Reply to: