Mail Archives: geda-user/2021/05/28/12:54:15
On Fri, 28 May 2021, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
> With the config file below I get the seg.fault.
> If I remove the "state=hidden" the seg.fault goes avay.
>
> $ cd ~/.config/gEDA
> $ cat geda-user.conf
> [gschem.dialog-geometry.text-edit]
> state=hidden
>
> Anyone knows why gschem fails so miserably with that ?
Ooooh I see what's going on here. Thank you, that is really helpful!
I'll be right back when I'm done investigating this.
> Also, when debugging this, I find that gschem alters the geda-user.conf,
> which is really annoying when trying to make small changes and then
> retry. This also makes it hard to version-control the config.
~/.config/gEDA/geda-user.conf is the file where gschem stores things like
dialog geometry and the arrangement and order of docks.
> if you want to save the latest state of whatever, do so in some other
> file. I suggest gschem_latest_state.conf or something similar.
I agree that calling this file "geda-user.conf" is kind of a misnomer;
"gschem_ui.conf" might be more appropriate. Putting this under version
control is not a useful thing to do.
> Please don't touch MY config file
IIRC, gEDA/gaf doesn't modify anything under ~/.gEDA/, which is where user
configuration should go. I think ~/.config/ is intended for the "options
dialog" kind of configuration where direct user changes aren't expected.
Roland
- Raw text -