Plugin Directory Locations

Hi,
Why are there several locations for plugins?

My question would be how to add a separate folder (from our company’s svn) into the Action Plugin menu?

Hannes

I can’t tell you why most have copies that end with scripting and scripting/plugins, seems redundant to me but probably had some reasons when it was introduced (before I got involved with kicad).

But for the rest:
/usr/share/kicad is for scripts/plugins distributed by kicad package itself
$HOME/.config/kicad is for your scripts/plugins (probably deprecated because in theory only configs should be in .config, not code/libraries).
$HOME/.local/share/kicad is for your scripts/plugins
and the last one with 3rdparty is for kicad’s plugin manager.

You could

  1. symlink one of the folders from .local/share/kicad to point to your directory if you want. Or
  2. Add a meta plugin that just includes all others from your svn dir and put that plugin in one of normal locations.
1 Like