KiCad 6 is changing to a JSON-based colour theme system. Recent nightly builds already support the new system, where each colour theme lives in a JSON file in the colors directory of the user settings path (see “How to use a colour theme” above.)
To use the JSON version of a theme, just copy the file into your colors directory.
But inside my ~/.config/kicad directory there isn’t such a colors directory.
I tried to create that directory and I copied the repo inside, but no themes were added to the combobox.
Please, where I need to put those directories in order to can choose among those themes from the Preferences dialog?
You should have a ~/.config/kicad/5.99 directory. Put the colors folder inside that. All user settings, including color themes, are now in subdirectories for each KiCad major/minor release. This lets us automatically upgrade settings files without breaking compatibility with old versions (so you can run old and new versions next to each other).
That was my first fault: the correct directory is ~/.config.kicadnightly/5.99.
Put the colors folder inside that.
This is not going to work. After some trials I had to put inside the colors folder the json files only!
It seems that kicad does not explore sub-directories to find out all the available jsons!
I wonder if you have specified that yourself or does it come from the package which you have installed. IIRC It’s possible to override the default location (which is ~/.config/kicad/5.99) compile time.
I didn’t changed the default one. First I installed the stable kicad package (that created the ~/.config/kicad folder). Then I removed that and installed the nightly packages, and now I discovered that they created this new folder.
You didn’t tell which platform you use and what/from where packages you use, so it’s impossible to say if they have a different settings location. But it’s not important now when you have found the directory.
I’m using Ubuntu 20.04 64-bit and I followed the procedure described here to install: https://kicad.org/download/ubuntu/. Even the kicad-nightly-libraries and kicad-nightly-templates were not available.