← Back to team overview

kicad-developers team mailing list archive

Re: Fwd: Re: Config file relocation

 

On 09/02/2014 11:36 AM, Wayne Stambaugh wrote:
On 8/31/2014 8:35 PM, Moses McKnight wrote:
On 08/31/2014 11:07 AM, jp charras wrote:
Le 31/08/2014 13:59, Moses McKnight a écrit :
<snip>
As I mentioned, I didn't change how it is done in Windows, so the
configs are still in the registry there.  If desired it would be trivial
to put them in config files in %APPADATA%\kicad as well.  wxConfig by
default uses the registry in Windows, but that can be changed easily.

I tested it on Linux and On Windows.
It works fine.

If nobody complains, I'll commit you patch soon.

Thanks.

Do you think it would be good to make it automatically move the old
files to the new location, or just inform the users of the need to do
that if they don't want to re-enter their settings?  The file names in
~/.config/kicad will not have the dot in front, so instead of
".eeschema" it will be simply "eeschema".  If it would be better to
still have them be dot files, I can change that.  This would make it so
the old config files could simply be moved and not have to be re-named -
if it is done manually.

Also, should the global fp-lib-table be moved as well?  I did not look
at that one.

Thanks,
Moses


Moses,

I don't think it's necessary to copy the old files.  Most of the
configuration set up is fairly trivial.  If you've been using KiCad for
any length of time, there probably is a lot of cruft in the config files
that is no longer used.  If we are going to make this change, I
recommend moving fp-lib-table there as well.  Splitting up the KiCad
configuration files in multiple places will only confuse users.  I also
recommend migrating windows over to config files instead of using the
registry.  The global fp-lib-table file is alread in the %APPDATA%/kicad
folder on windows.  I'm sure there will be some grumbling but it's much
easier for developers have someone send a config file than digging
around the windows registry.

Wayne

Ok, I can add that to my patch and re-send it if you want me to. I haven't looked into what it would take to move the fp-lib-table, but I should be able to move the windows config to %APPDATA%/kicad in a few minutes of work.

Oh, on another subject, this list is one of the few I'm on (out of dozens) that does not send replies back to the list but send to the poster instead. That is annoying because for this list I have to be careful to hit the right button or add kicad-developers to the recipients. Is there a way to make the default reply-to be the list?

Thanks,
Moses


Follow ups

References