Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrow modules don't work
#1
Hello,
I am trying to get arrows on GIMP 3.2.4 running under Ubuntu 22.04.

I have tried two modules:
* The script arrow_v3.scm (https://blog.weetech.ch/2025/10/how-to-d...lugin.html). I put it in "$/snap/gimp/560/.config/GIMP/3.0/scripts", made sure it is executable and restarted GIMP. It is supposed to show in the Tools menu, but nothing is there.
* The plug-in pl_stroke_arrows (https://github.com/Scallact/gimp-stroke-...me-ov-file). I put the folder in "$/snap/gimp/560/.config/GIMP/3.0/plug-ins", made sure that pl_stroke_arrows.py is executable and restarted GIMP. It is supposed to show in the Edit menu, but nothing is there.

Any idea about what the problem is? My GIMP is the French version, could that be it?

Thanks for your advice, John
Reply
#2
(Yesterday, 02:30 PM)johnrose Wrote: Hello,
I am trying to get arrows on GIMP 3.2.4 running under Ubuntu 22.04.

I have tried two modules:
* The script arrow_v3.scm (https://blog.weetech.ch/2025/10/how-to-d...lugin.html). I put it in "$/snap/gimp/560/.config/GIMP/3.0/scripts", made sure it is executable and restarted GIMP. It is supposed to show in the Tools menu, but nothing is there.
* The plug-in pl_stroke_arrows (https://github.com/Scallact/gimp-stroke-...me-ov-file). I put the folder in "$/snap/gimp/560/.config/GIMP/3.0/plug-ins", made sure that pl_stroke_arrows.py is executable and restarted GIMP. It is supposed to show in the Edit menu, but nothing is there.

Any idea about what the problem is? My GIMP is the French version, could that be it?

Thanks for your advice, John

Well, both work but it is pobably the  SNAP version of Gimp 3.2.4

Can you post a screenshot of Edit -> Preferences -> Folders -> Scripts which shows the paths to the folders.

------------

As general advice.  You can add your own general folder for Gimp rsources.. In this example a folder in your home called  gimp3  Add sub folders for resources, in ths case for scripts and plugins.

   

The arrow_V3.scm goes in the scripts folder. No need to make it executable
Plugins a bit different, pl_stroke_arrows.py goes in its own folder  pl_stroke_arrows and as a plugin it is made executable.

Now you need to add those folders to the paths in Gimp. Edit -> Preferences -> Folders Use the add (+) icon and search. 

   

A restart of Gimp and the arrows do work.

   

----------------

As a note.  Better than a SNAP Gimp 3 is the PPA installation
https://launchpad.net/~ubuntuhandbook1/+...ntu/gimp-3
Reply
#3
The site that you link to is not the one that I keep up to date with the latest version. It probably won't affect the problem you are having but you would be advised to download the latest version from:

https://programmer97.byethost10.com/Files/arrow.zip
Reply
#4
Hi, I'm the author of pl_stroke_arrows. It's strange, looks like you installed it correctly, and it should work. The only possible issue would be the path that the snap version uses. 

I'll install the snap version right away and see if there is a problem.

P.S:


(Yesterday, 02:30 PM)johnrose Wrote: Hello,
I am trying to get arrows on GIMP 3.2.4 running under Ubuntu 22.04.

I have tried two modules:
* The script arrow_v3.scm (https://blog.weetech.ch/2025/10/how-to-d...lugin.html). I put it in "$/snap/gimp/560/.config/GIMP/3.0/scripts", made sure it is executable and restarted GIMP. It is supposed to show in the Tools menu, but nothing is there.
* The plug-in pl_stroke_arrows (https://github.com/Scallact/gimp-stroke-...me-ov-file). I put the folder in "$/snap/gimp/560/.config/GIMP/3.0/plug-ins", made sure that pl_stroke_arrows.py is executable and restarted GIMP. It is supposed to show in the Edit menu, but nothing is there.

Any idea about what the problem is? My GIMP is the French version, could that be it?

Thanks for your advice, John

I think I identified your problem. You use GIMP 3.2, but you put the plugins / scripts in the 3.0 folder. Alongside that folder, there should be a 3.2 one.

P.P.S: Looks like it's a little more complicated than that. And a little simpler as well.

Two of the configured folders in the snap version are probably virtual paths. I can't find these, and the path contains "3.0", which is not correct for the 3.2 version.

But, the standard path to GIMP config is also present, so you should rather install the plugins in there:

~/.config/GIMP/3.2/plug-ins/

Let me know if this works.
Reply
#5
Thanks so much, all of you, for this feedback.

Indeed the ~/.config/GIMP/3.2/plug-ins/ and ~/.config/GIMP/3.2/scripts/ folders are present and in the path preferences. I put the newest version of the arrow script in the latter folder and it works fine. However, when I put the pl_stroke_arrows folder in the former folder, still nothing shows up in the Edit menu - can you advise on this?

If not, I propose to uninstall the SNAP version and do the the PPA installation [The SNAP version is already inconvenient in not providing the correct link to the on-line documentation] to see if SNAP is the problem.

Best wishes, John
Reply
#6
(Today, 06:35 AM)johnrose Wrote: However, when I put the pl_stroke_arrows folder in the former folder, still nothing shows up in the Edit menu - can you advise on this?.  

It reads like you have it correctly installed. Comes as a zip and unzipped there is a folder pl_stroke_arrows containing the plugin pl_stroke_arrows.py  You need to make that executable.  Like the screenshot in post #2

Just in case it is python missing (who knows with a SNAP ) Check there is an entry Filters -> Development -> Python-Fu If that is missing then no python/no plugin

   

Working should be bottom of the Edit menu, also a right click context in the paths dock as:

   

Quote:If not, I propose to uninstall the SNAP version and do the the PPA installation [The SNAP version is already inconvenient in not providing the correct link to the on-line documentation] to see if SNAP is the problem.

Best wishes, John

It really is a matter of choice, options for ubuntu (or mint) are SNAP or Flatpak.  The Gimp team produces the flatpak it limitations are "you get what you are given" when it comes to compiled plugins such as g/mic

There are appimages and they also have limitations when it comes to compiled plugins, scm / python are ok.

The PPA does have a Gimp 3.2.4  for 'buntu 22.04  It does update but the version might freeze in the future due to out-of-date dependencies.
Edit: I have a laptop that still uses (k)ubuntu 22.04, end of life is April 2027 I have a lot of old stuff on it so probably keep it. My newer laptop does use 24.04. An upgrade might be worthwhile.

On-line help ?? The SNAP / Flatpak / appimage  are sand-boxed,  unlikely to connect to the outside world.
A regular installation from a PPA.  Unfortunatly just brings up the html code from F1 in Gimp for me.  Whatever version you use, resign to bookmarking gimp help in your browser. https://docs.gimp.org/
Reply
#7
(Today, 06:35 AM)johnrose Wrote: Thanks so much, all of you, for this feedback.

Indeed the ~/.config/GIMP/3.2/plug-ins/ and ~/.config/GIMP/3.2/scripts/ folders are present and in the path preferences. I put the newest version of the arrow script in the latter folder and it works fine. However, when I put the pl_stroke_arrows folder in the former folder, still nothing shows up in the Edit menu - can you advise on this?

If not, I propose to uninstall the SNAP version and do the the PPA installation [The SNAP version is already inconvenient in not providing the correct link to the on-line documentation] to see if SNAP is the problem.

Best wishes, John

I just checked on my snap install, and it works fine with the default .config path. 

Your description of the installation also looks correct. Can you confirm you didn't forget to make the .py file executable? Also, double-check that the plugin's own folder has the same name as the file, without the extension: pl_stroke_arrows. Sorry if these seem obvious, I don't see any other plausible hiccups.

If all of the above fails, maybe try to download it again.

Sorry for the headaches.
Reply


Forum Jump: