Gimp-Forum.net
Files in the wrong place? - Printable Version

+- Gimp-Forum.net (http://www.gimp-forum.net)
+-- Forum: GIMP (http://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (http://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Files in the wrong place? (/Thread-Files-in-the-wrong-place)



Files in the wrong place? - david - 04-17-2017

I have been exploring my new installation of Gimp (Ubuntu 64 bit).
In usr/share/gimp2.0/scripts I have come across the following 6 .py files.

btn4ws.py
cmyk-tiff-2-cmyk-pdf.py
contactsheet.py
ez-perspective.py
file-ora.py
layerfx.2.8.py

Obviously, they do not appear in any of the Gimp menus.
I am curious to know what they are doing there on a new installation!

Also if I were to move them to:
/.gimp-2.8/plug-ins or
/usr/lib/gimp/2.0/plug-ins

are any of them going to work?

david.


RE: Files in the wrong place? - rich2005 - 04-17-2017

These come from the gimp-plugin-registry.deb package. Why they are in the scripts section, who knows, maybe an error in the dim past. These packages are often automatically generated and this one goes back to Gimp 2.6 days. 

btn4ws.py This generates web page buttons and the html code for them.

cmyk-tiff-2-cmyk-pdf.py This would be great if it worked, but it does not. I think it worked in Gimp 2.6 (but maybe not)

contactsheet.py There is a more recent version see: http://www.sullockenzlin.demon.nl/Gimp.html#contactsheet

ez-perspective.py As far as I know this still works see: http://registry.gimp.org/node/24537 for details

file-ora.py This opens MyPaint open-raster files. Redundant, already in Gimp 2.8 since about Gimp 2.8.6

layerfx.2.8.py old but still works see: http://registry.gimp.org/node/186 Make the most of it since it will not work in the next Gimp without a re-write.

A listing of the plugins and scripts is attached. Remember to unzip it.

My advice. I consider some of the plugins essential, resynthesizer and heal selection for example. Most of them you will never use in a dozen years. Pick out the ones you need, copy from /usr/lib/gimp/2.0/plug-ins/ & /usr/share/gimp/2.0/scripts/ to your own Gimp profile folders. Then uninstall the package.


RE: Files in the wrong place? - Ofnuts - 04-17-2017

Strange. No such file on my freshly installed 16.04 but Gimp comes from Otto's PPA.

Moving them to one of the plugins directory and making sure they are executable could work. But you can ask dpkg where the files come from:
Code:
19:47:05 ~/ >dpkg -S /usr/lib/gimp/2.0/plug-ins/lens-distortion
gimp: /usr/lib/gimp/2.0/plug-ins/lens-distortion
19:47:32 ~/ >dpkg -S /usr/lib/gimp/2.0/plug-ins/resynthesizer
gimp-plugin-registry: /usr/lib/gimp/2.0/plug-ins/resynthesizer



RE: Files in the wrong place? - rich2005 - 04-17-2017

The files come from the gimp-plugin-registry package

There is one in the ppa: http://i.imgur.com/tbiGGmV.jpg AFAIK there is one in the regular 'buntu repo.

just updated the list of package files, got the wrong file first time round.  Angry


RE: Files in the wrong place? - david - 04-17-2017

rich2005,

Thanks for the quick and comprehensive reply.
Of all the packages, the only one I think I may use is the contact sheet, and as you say, there is a new version.
The resynthesizer and heal selection I already use frequently.

@Ofnuts,

My Gimp was downloaded from the Ubuntu repository.

david.

Edit: We are overlapping each other with our replies! But everything clear now.
Thanks again.


RE: Files in the wrong place? - Ofnuts - 04-17-2017

If you add Otto's PPA to your software sources, you get Gimp's (and popular plugins) latest releases automatically (otherwise you are restricted to the one in the Ubuntu repos, that are typically frozen to about 6 months before the Ubuntu version is made public. There is also a gimp-edge PPA if you want to use 2.9 instead (but you can't have both that way).



RE: Files in the wrong place? - rich2005 - 04-17-2017

(04-17-2017, 06:49 PM)Ofnuts Wrote: ... There is also a gimp-edge PPA if you want to use 2.9 instead (but you can't have both that way).

You can run both if Gimp 2.9.5 is portable ie. an 'appimage'

Where to get one for 'buntu? Oh look! there is one here:

http://www.gimp-forum.net/Thread-Portable-Gimp-2-9-5-for-linux?pid=581#pid581


RE: Files in the wrong place? - david - 04-18-2017

PPA for Gimp 2.8 added - Gimp 2.9 is probably too adventurous for an old wrinkly like me!!!

david.


RE: Files in the wrong place? - Ofnuts - 04-18-2017

(04-18-2017, 07:12 AM)david Wrote: PPA for Gimp 2.8 added - Gimp 2.9 is probably too adventurous for an old wrinkly like me!!!

david.

As Rich says, you can run 2.9 from an AppImage (self-contained, easily added and erased) and keep a regular 2.8 (from repo or PPA).