Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Divide straight line with "notches" (e.g. graph scale)
#11
The default Gimp version for 'buntu 20.04 is Gimp 2.10.18 and you have Gimp 2.10.30 ?

However, first thing to try is an appimage launcher that adds python support to Gimp

Get it from here: https://github.com/TasMania17/Gimp-Appim...-for-Linux

The download is https://github.com/TasMania17/Gimp-Appim...4.AppImage

It says for 'buntu 22.04 but it also works with 'buntu 20.04 Make sure it is executable, run it and it should find and start Gimp.

There is also a 'buntu PPA https://launchpad.net/~ubuntuhandbook1/+...buntu/gimp and the version there for 'buntu 20.04 is Gimp 2.10.34 (the current latest) and there is also a gimp-python package. That is not installed as a dependency, install Gimp from the PPA then apt install gimp-python and that should pull in necessary dependencies.

If you have 'buntu 22.04 then use that appimage, and as an example this 6 minute video, long one for me, some tips on using the plugin to make a horizontal scale:

https://youtu.be/HG5WL1Io4BQ



Reply
#12
(07-15-2023, 03:53 PM)Ofnuts Wrote: Still on 20.04? IIRC it's out of service since April.
[...]
Installing the gimp-python .deb from an earlier Ubuntu release (19.10 likely the latest) may be the easiest way, see here.
[...]
20.04 is an LTS release, still good for a while yet: https://ubuntu.com/about/release-cycle Smile

However I have a laptop I use for newer stuff, and it's built on 22.04, so perhaps I'll move this little project over to that. The machine I'm using is key infrastructure and I don't like the sound of all the messing around this is starting to involve!

The link you added seems to suggest that if I use the snap version, "It works"... This is the snap version, so I'm not sure I understand that. It also seems to suggest that the issue is Python versions, I have both 2.7 and 3.10, can I simply create a virtual environment (or tweek $PATH appropriately) and point it at the older python? Indeed, default "python" is 2.7 on this, I have to issue "python3" to get 3.10.

But, while the other machine sounds like the best option, I'm not clear what's incompatible with what, and therefore what I should try to change. Let my try to pin down a question. If I look for a version for an older release, does it need to be an old version of GIMP? Or should it be the latest GIMP available for that old version of Ubuntu? Or, alternatively, if I have newer Ubuntu, does that magically fix things?

Actually, for now, maybe let's not worry too much about the myriad questions that this has brought up, I'll try the laptop, see if the newer version works, and try harder again later if it doesn't.

Thanks again for your help!

(07-15-2023, 04:31 PM)rich2005 Wrote: The default Gimp version for 'buntu 20.04 is Gimp 2.10.18 and you have Gimp 2.10.30 ?

However, first thing to try is an appimage launcher that adds python support to Gimp

[...]

I'm using the snap version of this, but yes, I have the versions indicated as far as I can tell:

   

Mind you, in investigating versions, I notice this:

$ which python
/usr/bin/python
$ python --version
Python 2.7.18
$ which gimp
/snap/bin/gimp
$ gimp
/usr/bin/env: ‘python’: No such file or directory
/snap/gimp/393/usr/bin/gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error


I'm not sure if it's worth my while to try to teach "env" where my python is, or how I'd do that (what arguments is it being executed with and where are they stored?) Is this likely to be relevant?

Anyway, I'll try what you've suggested, thanks!
Reply
#13
Oh.... I forgot about the snap version. Anything snap is best forgotten

My advice for 'buntu 20.04 is go for the "Panda Jim" PPA  https://launchpad.net/~ubuntuhandbook1/+...buntu/gimp Follow the directions for adding the PPA. A regular Gimp will co-exist with that snap version. Their Gimp profiles are separate.

Edit: To be truthful, I use (k)buntu 20.04 much more than 22.04  I use plenty 'old-stuff' that becomes increasingly difficult with every 'buntu update.

I do use that PPA and remember gimp-python is not a dependency, needs installing separately.

   
Reply
#14
(07-15-2023, 04:51 PM)TobyEggitt Wrote:
(07-15-2023, 03:53 PM)Ofnuts Wrote: Still on 20.04? IIRC it's out of service since April.
[...]
Installing the gimp-python .deb from an earlier Ubuntu release (19.10 likely the latest) may be the easiest way, see here.
[...]
20.04 is an LTS release, still good for a while yet: https://ubuntu.com/about/release-cycle Smile

Ah, yes... Must have been on 18.04, and then jumped to 22.04 without stopping at 20.04.
Reply
#15
(07-13-2023, 07:45 PM)TobyEggitt Wrote: I planned to divided into 45 blocks ./. That ends up as 151.7333 pixels per block, so if I round up, I'll be, er... 10 pixels off by the end.

Symmetry Painting can be your friend...
if the dialog is not showing up, go to top menu Windows > Dockable Dialogs > Symmetry Painting

10 second video:




Below are the settings for your 45 blocks and 151.73 pixels per blocks, my brush was 25 pixels for visibility purpose on the video only, you can try what you need (1 pixel? you can remove the number of pixels that your brush will be from the "block" size depending what you want)

   

(07-15-2023, 09:52 PM)Ofnuts Wrote:
(07-15-2023, 04:51 PM)TobyEggitt Wrote:
(07-15-2023, 03:53 PM)Ofnuts Wrote: Still on 20.04? IIRC it's out of service since April.
[...]
Installing the gimp-python .deb from an earlier Ubuntu release (19.10 likely the latest) may be the easiest way, see here.
[...]
20.04 is an LTS release, still good for a while yet: https://ubuntu.com/about/release-cycle Smile

Ah, yes... Must have been on 18.04, and then jumped to 22.04 without stopping at 20.04.

I'm still on Ubuntu-MATE 20.04.5 Angel
Big Grin
Patrice
Reply


Forum Jump: