![]() |
Problem getting a plugin to work on Linux mint - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: Problem getting a plugin to work on Linux mint (/Thread-Problem-getting-a-plugin-to-work-on-Linux-mint) |
Problem getting a plugin to work on Linux mint - Bob_H - 11-06-2022 On windows 10 I’m running GIMP 2.10.20 I have a ShellOut.py in the plug-in directory (C:\Users\....\GIMP\2.10\plug-ins) and everything works perfectly. I use the ShellOut to launch the Nik collection I recently installed GIMP 2.10.30 on Linux Mint ver 21, and I cannot get the ShellOut.py to work or even be recognized by GIMP. By not being recognized I mean it doesn’t show up under the filters option in GIMP. I placed the ShellOut.py into /home/…/.config/GIMP/2.10/plug-ins Does anyone have any advice? I’m stuck. One thing I found online suggested it maybe do to Linux mint being on version 3 of Python, but I’m not sure what to change for that. RE: Problem getting a plugin to work on Linux mint - rich2005 - 11-06-2022 The NIK collection is very much a Windows installation, dozens of files, hundreds of registry entries. Do not expect it to work in linux even in WINE. For shellout.py (or other python plugins) to work it does of course require a Gimp python2 installation. Not there in Mint 21. It can be 'added' with an appimage. see: https://www.gimp-forum.net/Thread-Python2-Gimp-AppImages-for-Ubuntu-Jammy-and-Focal?pid=29963#pid29963# https://github.com/TasMania17/Gimp-Appimages-Made-From-Debs/releases/tag/Gimp-Python2-AppImage-Launchers-for-Linux https://i.imgur.com/fWY3ezt.mp4 RE: Problem getting a plugin to work on Linux mint - Bob_H - 11-06-2022 (11-06-2022, 10:03 PM)rich2005 Wrote: The NIK collection is very much a Windows installation, dozens of files, hundreds of registry entries. Do not expect it to work in linux even in WINE. Thanks for the information I was able to get NIK to run standalong using a nik4nix.exe on Linux. At the moment I can't find the location I downloaded it from, sorry. I used wine to install NIK. When I say I got it running, I only tried define 2. That's the main NIK program I'm after. I like the results from Define 2, but maybe it's time to find something new. From https://github.com/ericoporto/NikInGimp I got the impression it could be made to work with GIMP but it's starting to sound pretty difficult. RE: Problem getting a plugin to work on Linux mint - rich2005 - 11-07-2022 OK, I give in, I installed the nik collection in Wine (only 466 MB) ![]() Using kubuntu 20.04 here so I can get Gimp 2.10.32 from a PPA and python support from some old packages. For Mint 21 use the appimage I indicated in the previous post. The Gimp flatpak comes with python2 but being sandboxed I do not know if it picks up anything from wine. This video of the procedure I followed: https://youtu.be/Riarm7rFJIQ 1. Check that Dfine2.exe works in the Wine folders 2. For simplicity make a new 'nik' folder in home 3. Make sym link from Dfine2.exe to the nik folder Code: ln -s "/home/user-name/.wine/drive_c/Program Files/Google/Nik Collection/Dfine 2/Dfine 2 (64-Bit)/Dfine2.exe" /home/user-name/nik Code: # Build command line call You can try and bypass stage 3 if you want. I had problems with the 64 bit version. Stupid MS and their spaces in file names. RE: Problem getting a plugin to work on Linux mint - Bob_H - 11-07-2022 Thanks for the help! RE: Problem getting a plugin to work on Linux mint - Kamolis68+ - 01-27-2024 (11-06-2022, 11:12 PM)Bob_H Wrote:(11-06-2022, 10:03 PM)rich2005 Wrote: The NIK collection is very much a Windows installation, dozens of files, hundreds of registry entries. Do not expect it to work in linux even in WINE. RE: Problem getting a plugin to work on Linux mint - rich2005 - 01-27-2024 (01-27-2024, 09:17 AM)Kamolis68+ Wrote: ....snip... Such is life, I always have a battle getting my old favourite utilities working after upgrading with (k)ubuntu. Ubuntu 22.04 is just about usable for me. You might like the ease of using a flatpak Gimp, but that was explained in your other post. It is 'sandboxed' The maintainers do provide a few 'bespoke' plugins - gimp_gmic_qt / resynthesizer ... but unlikely that the shellout.py plug-in will connect to NIK using WINE. At least you have it working 'stand-alone' RE: Problem getting a plugin to work on Linux mint - Kamolis68+ - 01-27-2024 (01-27-2024, 09:37 AM)rich2005 Wrote:(01-27-2024, 09:17 AM)Kamolis68+ Wrote: ....snip... It's partly true. however on Github I found these plugins: https://github.com/draekko-rand/nik_for_gimp working and recognized by Gimp flatpak. the difficulty is calling the program and making it work in Gimp. I contacted the maker but he hasn't responded yet and maybe he won't... |