xorg configuration for the non-free nvidia driver

Andreas Beckmann debian at abeckmann.de
Mon Jul 11 17:29:33 UTC 2011


On 2011-07-11 18:26, Russ Allbery wrote:
> Combining configuration files with slave alternatives makes me nervous.
> I'm not sure what would happen if the system administrator broke the
> symlink (via an editor action, for example) while the alternatives system
> still thinks that it's active; we might end up confusing the alternatives
> database.

Replacing the link with a file is save (at first):

update-alternatives: warning: not replacing
/etc/X11/xorg.conf.d/nvidia.conf with a link

but unfortunately switching to an alternative that does not have this
slave causes update-alternatives to delete the file.

I'm going to check tonight whether this is a regression from the dpkg in
lenny.


Replacing the link with a different link would probably be ignored by
the alternatives system, e.g. the custom link would be replaced by the
alternative link on next update.


Andreas



More information about the pkg-nvidia-devel mailing list