Removal of a Personal Color Theme

Does anyone know how to remove a personal color theme from the color theme list in any of the Editors?

On Windows it’s here:
C:\Users\username\AppData\Roaming\kicad\8.0\colors

On Linux probably somewhere here:
~/.config/kicad/

Not sure about Mac.

Find and delete the json file you don’t want.

The file deletes, but the color theme name stays in the theme list and also still works!!!

Did you try your solution? Did it work? If so, what is your OS?

Application: KiCad x86_64 on x86_64

Version: 8.0.6-unknown-202410221755~51a3859d7e~ubuntu22.04.1, release build

Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 2.7.4
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.18

Platform: Linux Mint 21.3, 64 bit, Little endian, wxGTK, X11, cinnamon, x11
OpenGL: Mesa, NV106, 4.3 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2

Build Info:
Date: Oct 22 2024 17:55:19
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.81.0
ngspice: 43
Compiler: GCC 11.4.0 with C++ ABI 1016

Build settings:

I just tried it at work (Windows, KiCAD 8.0.6) and it works (I temporary renamed xxxx.json to xxxx.jsonaaaa).
I did the same thing on Ubuntu (home) a while ago (older OS and KiCAD version) when was searching for best color scheme which suites me and it also worked.
Will try it at home in the evening (Ubuntu 24.10, KiCAD 8.0.6) if it’s not solved until then.

Make sure the color scheme is not currently active and KiCAD is not running.

Also I’ve noticed just now that in KiCAD preferences when you are selecting colours you have a button top right to open the theme folder:
image
Try that. Maybe you are deleteing files from a different location (inherited from a previous KiCAD version?)

2 Likes

Maybe this can help.

Theme in use is saved in each program’s *.json file, in a section like:

"appearance": {
    "color_theme": "C:\\Users\\xxx\\xxx\\Documents\\KiCad\\8.99\\3rdparty\\colors\\xxx\\xxx.json",

The default value is: "color_theme": "_builtin_default", (I think this is the same for other OSs, save a copy of the current file, edit the one in use and give it a try)

1 Like

Problem solved, sorry for the noise.
After deleting the json file, Kicad needs to be completely shut down for the theme to leave the theme list. I had only closed the Editors.

Out of interest, the json color files are accessed directly with the “Open Theme Folder” and indirectly (via the “colors” folder) using “Open Preferences Directory”.
It also doesn’t matter if a color theme is currently in use when it is deleted (I just tried this). After deleting, upon re-opening Kicad, the programme opens with the default Kicad color theme.

3 Likes