Looks like some environment variables visible under 'preferences-> configure paths are fixed to values starting /usr/lib while the symbols / footprints / templates dirs in the current nightly are actually located at /usr/share/kicad-nightly/…
i located kicad_common.json where the paths are defined, but had to understand that these settings are not taken into consideration by kicad.
any hint on how to solve this problem?
my settings:
Ubuntu 20.04 (up-to-date)
kicad-nightly (just checked if there are any updates available)
in detail:
Application: KiCad
I’m guessing that because it’s a nightly some rules are broken. On Linux /usr/share is intended to be shareable to other machines so should not contain arch specific files, only files like documentation, non-arch libraries. (/usr/share is used on my 5.1.9 system.) On the other hand /usr/lib will contain arch specific libraries. This kind of sharing usually via NFS was more prevalent in the past when disc space was more expensive.
Anyway you should wait for v6 before judging if /usr/lib is still used then and appropriate.
If I change some of the paths prefixed KIKCAD6 then KiCad tells me that my changes are temporary and will disappear when I quit the GUI.
BTW: I do not have entries likeKICAD_…, just the KICAD6_… entries
Meanwhile …
I found out that if I add a path it will end up in ${HOME}/.config/kicad/5.99/kicad_common.json instead of ${HOME}/.config/kicadnightly/5.99/kicad_common.json . What a surprise!!!
I updated to the latest nightly available for Ubuntu focal to see if the “feature” get settled, but I was not successful.
I suppose the “feature” is to be seen with builds after March 31st. No prove there though as I have not used KiCad for a while. I did updates to KiCad though when other Ubuntu updates were offered. So I cannot pin down my problem to a specific build of KiCad.
But I’ve never had a problem with it. Why would you want to change such a path? They are just for KiCad’s default libraries installed at default locations.
If you want to manage personal libraries, then do so with custom environment variable names. In my previous screenshot for example the is a “KIDATASHEET” which I made myself, and it is used as a path to where I keep local copies of datasheets.
Apparently this is some kind of problem for you, because otherwise you would not have started this thread. What is your reason for even wanting to change those paths? It’s possible you are looking for the wrong solution to your problem.
Once I had a 5.x stable of KiCad installed and then I removed it. Now I have KiCad nightly installed only and the files for symbols and footprint coming along with the nightly are not to be found as the KICAD6_… variables point to the wrong directories. I found out about the feature by accident when I opened the scheme file of a project where I use a pin header (conn…) located in the symbol files provided by the nightly. Normally I copy things over to files I control so it took a while to discover that KiCad had a problem at all.
So if I understand you correctly: You have some enviroment variables, for example KICAD6_FOOTPRINT_DIR which points to the same path as I have: /usr/lib/kicad-nightly/share/kicad/modules, but your actual libraries are in a different location: /usr/share/… Correct?
You have an Ubuntu (derivative), what is the output of:
i kicad-nightly - Electronic schematic and PCB design software
p kicad-nightly-dbg - Debug symbols for kicad
i A kicad-nightly-demos - Common files used by kicad
i kicad-nightly-footprints - Kicad footprints (modules)
i kicad-nightly-libraries - meta-package for dep to all KiCad libraries (symbols, footpri
i kicad-nightly-packages3d - Kicad packages3d (3d models for footprints)
i kicad-nightly-symbols - Kicad symbols (schematic)
i kicad-nightly-templates - Kicad templates
The i in the first column shows that the packages are installed. Do you have these installed? (You are possibly trying to work with libraries for another KiCad version).
If footprints are not installed, you can do so with:
sudo apt install kicad-nightly-footprints
You are also writing stories about uninteresting subjects such as:
This has zero.zero relevant information for me.
Also text as:
have very little useful information. It does not say which paths point to where. Compare that with the screenshot I posted previously, which lists all my environment variables and where they point to.
For example, even though this thread is getting quite long, you still have not posted what all your paths are, and what you want them to be.