Footprint in footprint editor not shown

I’ve imported some footprints and designed one myself. After copying them to /usr/share/footprints/Sparkgap.pretty/

None of them shows up in footprint editor.

OS: Ubuntu 24.04.2 lts
KiCad:

Application: KiCad Footprint Editor x86_64 on x86_64

Version: 7.0.11+dfsg-1build4, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.13.2
	HarfBuzz 8.3.0
	FontConfig 2.15.0
	libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.7

Platform: Ubuntu 24.04.2 LTS, 64 bit, Little endian, wxGTK, , x11

Build Info:
	Date: Apr  1 2024 06:00:58
	wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.6.3
	Curl: 8.5.0
	ngspice: 42
	Compiler: GCC 13.2.0 with C++ ABI 1018

Build settings:
	KICAD_SPICE=ON
/usr/share/kicad/footprints/Sparkgap.pretty# ll
total 20K
drwxr-xr-x   2 root root 4.0K Jun  5 18:28 ./
drwxr-xr-x 145 root root  12K Jun  3 17:08 ../
-rw-r--r--   1 root root 3.3K Jun  5 18:28 Sparkgap_3.kicad_mod

As far as I know, this is now supposed, at least after restarting kicad, to show up within the footprint editor. But it does not. Anything wrong with it? Anything i have to change to make it work?

(footprint "Sparkgap_3"
	(version 20250531)
	(generator "pcbnew")
	(generator_version "8.0")
	(layer "F.Cu")
	(property "Reference" "REF**"
		(at -0.2 6 360)
		(layer "F.SilkS")
		(hide yes)
		(uuid "f9376d82-3de0-489c-8271-a643fa71e8bb")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "Value" "Sparkgap_3"
		(at -0.1 4.4 360)
		(layer "F.Fab")
		(hide yes)
		(uuid "f2b5bdaf-ae09-46ca-b618-b06fca7e3844")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "Footprint" ""
		(at 0 0 0)
		(unlocked yes)
		(layer "B.Fab")
		(hide yes)
		(uuid "1b9ac17c-5fa9-4ff0-910e-a0df0be75d92")
		(effects
			(font
				(size 1.27 1.27)
				(thickness 0.15)
			)
			(justify mirror)
		)
	)
	(property "Datasheet" ""
		(at 0 0 0)
		(unlocked yes)
		(layer "B.Fab")
		(hide yes)
		(uuid "a8c89c20-060e-4a7e-bebc-2a5f1900da32")
		(effects
			(font
				(size 1.27 1.27)
				(thickness 0.15)
			)
			(justify mirror)
		)
	)
	(property "Description" ""
		(at 0 0 0)
		(unlocked yes)
		(layer "B.Fab")
		(hide yes)
		(uuid "c004e576-133d-4891-b3a1-f107d78bf723")
		(effects
			(font
				(size 1.27 1.27)
				(thickness 0.15)
			)
			(justify mirror)
		)
	)
	(attr exclude_from_pos_files)
	(fp_poly
		(pts
			(xy 0.45 0.75) (xy -0.45 0.75) (xy -0.45 -0.75) (xy 0.45 -0.75)
		)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill solid)
		(layer "F.Mask")
		(uuid "a8a33b77-e16e-4c1b-bce3-7413a2942eb1")
	)
	(pad "1" smd custom
		(at -0.7 0 180)
		(size 0.3 0.3)
		(layers "F.Cu")
		(thermal_bridge_angle 90)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy 0.103701 0.794291) (xy 0.128033 0.778033) (xy 0.144291 0.753701) (xy 0.15 0.725) (xy 0.15 -0.725)
					(xy 0.144291 -0.753701) (xy 0.128033 -0.778033) (xy 0.103701 -0.794291) (xy 0.075 -0.8) (xy -0.075 -0.8)
					(xy -0.103701 -0.794291) (xy -0.128033 -0.778033) (xy -0.144291 -0.753701) (xy -0.15 -0.725) (xy -0.15 0.725)
					(xy -0.144291 0.753701) (xy -0.128033 0.778033) (xy -0.103701 0.794291) (xy -0.075 0.8) (xy 0.075 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_poly
				(pts
					(xy 0.55 0.6) (xy -0.05 0.4) (xy 0.55 0.2) (xy -0.05 0) (xy 0.55 -0.2) (xy -0.05 -0.4) (xy 0.55 -0.6)
					(xy 0.05 -0.75) (xy -0.1 -0.75) (xy -0.1 0.75) (xy 0.05 0.75)
				)
				(width 0.03)
				(fill yes)
			)
		)
		(uuid "edd5b5cf-f8ec-43dd-99d7-4ea64aa2fe6c")
	)
	(pad "2" smd custom
		(at 0.7 0)
		(size 0.3 0.3)
		(layers "F.Cu")
		(thermal_bridge_angle 90)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy 0.103701 0.794291) (xy 0.128033 0.778033) (xy 0.144291 0.753701) (xy 0.15 0.725) (xy 0.15 -0.725)
					(xy 0.144291 -0.753701) (xy 0.128033 -0.778033) (xy 0.103701 -0.794291) (xy 0.075 -0.8) (xy -0.075 -0.8)
					(xy -0.103701 -0.794291) (xy -0.128033 -0.778033) (xy -0.144291 -0.753701) (xy -0.15 -0.725) (xy -0.15 0.725)
					(xy -0.144291 0.753701) (xy -0.128033 0.778033) (xy -0.103701 0.794291) (xy -0.075 0.8) (xy 0.075 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_poly
				(pts
					(xy 0.55 0.6) (xy -0.05 0.4) (xy 0.55 0.2) (xy -0.05 0) (xy 0.55 -0.2) (xy -0.05 -0.4) (xy 0.55 -0.6)
					(xy 0.05 -0.75) (xy -0.1 -0.75) (xy -0.1 0.75) (xy 0.05 0.75)
				)
				(width 0.03)
				(fill yes)
			)
		)
		(uuid "90361621-f18a-4b9e-ab92-92f2396a232d")
	)
)

If I read correctly (newer was going into footprint files texts) you use KiCad V7 but footprint is generated by V8. KiCad V7 doesn’t know V8 footprint format, I think.

It’s possible you have a KiCad version conflict as Piotr mentioned.
Another possible cause is that your sparkgap library itself has to be added to Preferences / Add Footprint Library

I also don’t like the idea of putting personal libraries in the /usr directory. It surely is possible, but make sure you have a decent backup strategy in place