Sujet : Re: Does Dimdows Know What Time It Is?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacyDate : 12. Oct 2024, 00:01:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vecap3$3r6ms$6@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Pan/0.160 (Toresk; )
On Tue, 8 Oct 2024 21:20:03 -0000 (UTC), candycanearter07 wrote:
One issue, however, is that an application can search a number of paths
to find a configuration: /etc/, /usr/share, /usr/lib, and the user's
HOME or HOME/.config or HOME/.local.
>
I think it's more so the sysadmin can define a global default if the
users haven't?
You want a hierarchy of config levels, where the highest precedence goes
to the level that is easiest for the user to change. From top:
* command-line option
* environment variable
* user config file in ~/.config, maybe ~/.local
* system config file in /etc
* installation-default config in /usr/local/share
* distro-default config in /usr/share
* hard-coded