← Back to team overview

kicad-developers team mailing list archive

Re: Configuration file relocation.

 

On 9/5/2014 10:56 PM, Moses McKnight wrote:
> On 09/05/2014 04:31 PM, Wayne Stambaugh wrote:
>> I just committed Moses' configuration file relocation patch in r5114.
>>
>> On Linux the configuration files are now located in $HOME/.config/kicad
>> per the FreeDesktop.org specification.  To preserve you current
>> settings, you can move the kicad configuration files for your $HOME
>> folder to the new location.  You must drop the leading . from the file
>> name.  You must also move the fp-lib-table file.  You will have to make
>> copies of these files if you plan on using any version of kicad prior to
>> r5114.
>>
>> Sorry windows users but you will have to reconfigure KiCad.  There was
>> no easy way to extract the registry keys into configuration files.  The
>> configuration files on Windows will be saved in the same folder as
>> fp-lib-table which is %APPDATA%\kicad.  You may want to clean the kicad
>> cruft from the registry if your not going to use any versions of kicad
>> prior to r5114.
>>
>> There should be no change for OSX users.
> 
> Hi Wayne, I'm pretty sure this is not true?  I just dug through the
> wxWidgets source, and it looks like before wxFileConfig wrote the files
> on OSX in ~/Library/Preferences, but they now go in
> ~/Library/Preferences/kicad.
> 
> It appears the same was true for fp-lib-table.  As such, the patch I had
> come up with for the library install is attached to this email.  I had
> not sent it before because I was not certain the new config location for
> OSX was the best place, and then kind of forgot about it.
> 
> Thanks, Moses

Thanks for the heads up.  Will someone who knows where the configuration
files on OSX are supposed to go according to Apple's guideline please
confirm this before I apply any more patches?

> 
>> Can someone please apply the attached patch to the library install in
>> the github repo so the fp-lib-table file gets installed in the correct
>> path by anyone using the kicad-install.sh script.
>>
>> Thank you Moses for contributing to KiCad.
>>
>> Sorry about the inconvenience but this change fixes the $HOME folder
>> configuration file pollution on Linux and removing the configuration
>> from the Windows registry which both users and developers have been
>> pushing for.
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 



Follow ups

References