I am writing my application foo, with frontend foo-gtk.
I want to install a default/systemwide config file, which I infer would go under
/etc/foo.conf, and possible /etc/foo-gtk.conf for default gui settings.
I am far more confused about user specific config files.
Here are places I see config files for other applications:
~/.foo.conf~/.foo/config~/.config/foo/config
The first has the advantage of being quick to get to if the user needs to edit it a lot, But the next two seem roughly equivalent.
I haven't found any formal spec on this so I'm curious, what is best practice for storing/locationof application Defualt, SystemWide, and Per-user config files?