Yesterday, 09:06 PM
I think this is an installation question. If instead you think it makes more sense as a plugin question, feel free to move this.
I needed to manipulate images, add layers to them, remove artifacts, etc. I have used gimp before on debian linux, and there were
debian packages that handled the python-fu and other plugins. But apparently all of that isn't being supported now by debian. Since I knew
that using resythesizer was going to be a significant part of the job, I went to https://github.com/bootchk/resynthesizer...ynthesizer where it suggested that I install a flatpak verison of gimp 3.2 and then resythesizer for flatpak. This seemed ok to me.
The command I used to install resythesizer was:
flatpak install org.gimp.GIMP.Plugin.Resynthesizer org.gimp.GIMP.Plugin.LiquidRescale org.gimp.GIMP.Plugin.Lensfun org.gimp.GIMP.Plugin.GMic org.gimp.GIMP.Plugin.Fourier org.gimp.GIMP.Plugin.FocusBlur org.gimp.GIMP.Plugin.BIMP
This worked fine. gimp 3.2 was fine. resynthesizer worked fine. Weeks passed. Many .xcf files were created. And then I found out that while some of our users want the art precisely as we have created it, a different set want the same art with a larger canvas -- the whole think shifted 8 transparent pixels to the right and 44 transparent pixels down. This seems to be a straight-forward job for a python plugin. I've never made one but I do know how to program in python, so I figured that this would be ok. The first thing I wanted to do was look at existing plugins to see how they worked. And unfortunately, I could not find any.
The flatpak installation document mentioned "Note: if you install through flatpak, it may be necessary to point GIMP to the newly installed plugins locations, so it knows where to load them from. In GIMP: Edit - Preferences - Folders - Plugins and use a plus sign to add plugin folders of newly installed flatpaks." But Edit - Preferences - Folders is empty. Not only are there no Plug-ins, but also no Brushes, Palettes, Patterns etc either. "Temporary Folder" and "Swap Folder" are the only things mentioned. So no "adding plus signs" is possible.
flatpak list says:
Namn Program-ID Version Gren Installation
Mesa …g.freedesktop.Platform.GL.default 26.0.6 25.08 system
Mesa (Extra) …g.freedesktop.Platform.GL.default 26.0.6 25.08-extra system
Intel VAAPI driver ….freedesktop.Platform.VAAPI.Intel 25.08 system
Codecs Extra Extension …freedesktop.Platform.codecs-extra 25.08-extra system
GNU
bildmanipuleringsprogram org.gimp.GIMP 3.2.4 stable system
GNU
bildmanipuleringsprogram org.gimp.GIMP 3.2.4 stable user
BIMP org.gimp.GIMP.Plugin.BIMP 2.6 2-40 system
BIMP org.gimp.GIMP.Plugin.BIMP 2.6 2-40 user
FocusBlur org.gimp.GIMP.Plugin.FocusBlur 3.2.6 2-3.36 system
FocusBlur org.gimp.GIMP.Plugin.FocusBlur 3.2.6 2-40 user
Fourier org.gimp.GIMP.Plugin.Fourier 0.4.5 2-40 user
Fourier org.gimp.GIMP.Plugin.Fourier 0.4.5+gimp3rc1 3 system
G'MIC org.gimp.GIMP.Plugin.GMic 3.5.2 2-40 user
G'MIC org.gimp.GIMP.Plugin.GMic 3.7.6 3 system
GimpLensfun org.gimp.GIMP.Plugin.Lensfun 0.2.4 2-3.36 system
GimpLensfun org.gimp.GIMP.Plugin.Lensfun 0.2.4 2-40 user
LiquidRescale org.gimp.GIMP.Plugin.LiquidRescale 0.7.2 2-3.36 system
LiquidRescale org.gimp.GIMP.Plugin.LiquidRescale 0.7.2 2-40 user
Resynthesizer org.gimp.GIMP.Plugin.Resynthesizer 2.0.3 2-40 system
Resynthesizer org.gimp.GIMP.Plugin.Resynthesizer 2.0.3 2-40 user
Resynthesizer org.gimp.GIMP.Plugin.Resynthesizer 3.0.1 3 system
GNOME Application Platform versi… org.gnome.Platform 50 system
Breeze GTK theme org.gtk.Gtk3theme.Breeze 6.7.0 3.22 system
.... I decided to experiment. I made a file batch_add_borders.py and installed it in
/home/lac/.config/GIMP/3.2/plug-ins/ which is also empty.
Now when gimp starts it reports:
Skipping potential plug-in '/home/lac/.config/GIMP/3.2/plug-ins/batch_add_borders.py': plug-ins must be installed in subdirectories.
I don't know what this means; I thought I did exactly that by adding it to the plugins directory.
Can somebody explain what I should do now?
Thank you.
I needed to manipulate images, add layers to them, remove artifacts, etc. I have used gimp before on debian linux, and there were
debian packages that handled the python-fu and other plugins. But apparently all of that isn't being supported now by debian. Since I knew
that using resythesizer was going to be a significant part of the job, I went to https://github.com/bootchk/resynthesizer...ynthesizer where it suggested that I install a flatpak verison of gimp 3.2 and then resythesizer for flatpak. This seemed ok to me.
The command I used to install resythesizer was:
flatpak install org.gimp.GIMP.Plugin.Resynthesizer org.gimp.GIMP.Plugin.LiquidRescale org.gimp.GIMP.Plugin.Lensfun org.gimp.GIMP.Plugin.GMic org.gimp.GIMP.Plugin.Fourier org.gimp.GIMP.Plugin.FocusBlur org.gimp.GIMP.Plugin.BIMP
This worked fine. gimp 3.2 was fine. resynthesizer worked fine. Weeks passed. Many .xcf files were created. And then I found out that while some of our users want the art precisely as we have created it, a different set want the same art with a larger canvas -- the whole think shifted 8 transparent pixels to the right and 44 transparent pixels down. This seems to be a straight-forward job for a python plugin. I've never made one but I do know how to program in python, so I figured that this would be ok. The first thing I wanted to do was look at existing plugins to see how they worked. And unfortunately, I could not find any.
The flatpak installation document mentioned "Note: if you install through flatpak, it may be necessary to point GIMP to the newly installed plugins locations, so it knows where to load them from. In GIMP: Edit - Preferences - Folders - Plugins and use a plus sign to add plugin folders of newly installed flatpaks." But Edit - Preferences - Folders is empty. Not only are there no Plug-ins, but also no Brushes, Palettes, Patterns etc either. "Temporary Folder" and "Swap Folder" are the only things mentioned. So no "adding plus signs" is possible.
flatpak list says:
Namn Program-ID Version Gren Installation
Mesa …g.freedesktop.Platform.GL.default 26.0.6 25.08 system
Mesa (Extra) …g.freedesktop.Platform.GL.default 26.0.6 25.08-extra system
Intel VAAPI driver ….freedesktop.Platform.VAAPI.Intel 25.08 system
Codecs Extra Extension …freedesktop.Platform.codecs-extra 25.08-extra system
GNU
bildmanipuleringsprogram org.gimp.GIMP 3.2.4 stable system GNU
bildmanipuleringsprogram org.gimp.GIMP 3.2.4 stable user BIMP org.gimp.GIMP.Plugin.BIMP 2.6 2-40 system
BIMP org.gimp.GIMP.Plugin.BIMP 2.6 2-40 user
FocusBlur org.gimp.GIMP.Plugin.FocusBlur 3.2.6 2-3.36 system
FocusBlur org.gimp.GIMP.Plugin.FocusBlur 3.2.6 2-40 user
Fourier org.gimp.GIMP.Plugin.Fourier 0.4.5 2-40 user
Fourier org.gimp.GIMP.Plugin.Fourier 0.4.5+gimp3rc1 3 system
G'MIC org.gimp.GIMP.Plugin.GMic 3.5.2 2-40 user
G'MIC org.gimp.GIMP.Plugin.GMic 3.7.6 3 system
GimpLensfun org.gimp.GIMP.Plugin.Lensfun 0.2.4 2-3.36 system
GimpLensfun org.gimp.GIMP.Plugin.Lensfun 0.2.4 2-40 user
LiquidRescale org.gimp.GIMP.Plugin.LiquidRescale 0.7.2 2-3.36 system
LiquidRescale org.gimp.GIMP.Plugin.LiquidRescale 0.7.2 2-40 user
Resynthesizer org.gimp.GIMP.Plugin.Resynthesizer 2.0.3 2-40 system
Resynthesizer org.gimp.GIMP.Plugin.Resynthesizer 2.0.3 2-40 user
Resynthesizer org.gimp.GIMP.Plugin.Resynthesizer 3.0.1 3 system
GNOME Application Platform versi… org.gnome.Platform 50 system
Breeze GTK theme org.gtk.Gtk3theme.Breeze 6.7.0 3.22 system
.... I decided to experiment. I made a file batch_add_borders.py and installed it in
/home/lac/.config/GIMP/3.2/plug-ins/ which is also empty.
Now when gimp starts it reports:
Skipping potential plug-in '/home/lac/.config/GIMP/3.2/plug-ins/batch_add_borders.py': plug-ins must be installed in subdirectories.
I don't know what this means; I thought I did exactly that by adding it to the plugins directory.
Can somebody explain what I should do now?
Thank you.

