They indeed work in 2.10 (and the image type is irrelevant for this).
You want to add something like this to the .ini file:
17 guides:
18parts:18parts::[(1+x)*(1./18) for x in range(17)]:I
19 guides (two additional guides on the outer edges)
18parts:18parts::[x*(1./18) for x in range(19)]:I
Once you have Gimp accept the new value (it could be better to add this to the file before adding the script to Gimp, otherwise read the doc, it explains how to have Gimp refresh the values) it will look like this:
I did see that while googling but it was from 2011 and didn’t know if it’s still valid and would work with python3. I don’t have python2 on my system.
Do not worry too much about that when using the Gimp appimage-with-plugins. It does contain its own python2. However it is worth checking (use synaptic) that there is a python2 minimal installed. I think it came with the initial Debian 11 installation but I am not sure.
Ofnuts has some great plugins, They all work with the appimage. Most come with a useage html file, extract the zip and read.
For the guides plugin, the plugin and ini file go in ~/.config/GIMP-AppImage/2.10/plug-ins/ It should alrady be executable but check.