← Back to team overview

kicad-developers team mailing list archive

Re: Configuration file relocation.

 

On 9/6/2014 1:20 PM, Moses McKnight wrote:
> On 09/06/2014 09:52 AM, Wayne Stambaugh wrote:
>> 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?
> 
> FYI, the patch I attached was just for the fp-lib-table install, the
> patch you already applied is already looking for fp-lib-table in the new
> location (~/Library/Preferences/kicad)  The patch that you sent and Carl
> Poirier applied to the kicad library repository, installs the
> fp-lib-table in ~/Library/Preferences/.config/kicad instead.
> 
> I noticed that there were tabs in the patch I sent, so I've attached
> another one that should be formatted correctly.
> 
> Moses
> 

Would someone with commit access to the kicad library repo on github
please apply this patch when they get a chance.

Thanks,

Wayne



Follow ups

References