Mail Archives: geda-user/2021/05/28/14:23:36
On Fri, 28 May 2021, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
> Sooo, now I'm confused, does current gschem use both ~/.gEDA and
> ~/.config/gEDA, with same named files in them ?
There are two different kinds of configuration files:
1) gafrc/gschemrc/gschem-gtkrc and their system-* variants. These files
are looked for in PREFIX/share/gEDA/, ~/.gEDA/, and the directory of the
edited file.
2) geda.conf, geda-user.conf, geda-system.conf. These files are looked
for in /etc/xdg/gEDA/, ~/.config/gEDA/, and both the current working
directory and the directory of the edited file themselves and all their
parent directories up to the file system root.
This doesn't necessarily make sense, and changing it is on the very top of
my TODO list. However, getting gEDA/gaf configuration right isn't a
trivial thing to do, and I want to make sure to neither add a third,
conflicting configuration mechanism nor to invent an everything-in-one
solution that turns out to be a maintainability nightmare. I think I've
figured out most things, but right now, I simply lack the capacity for a
change of that scale.
- Raw text -