Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem getting a plugin to work on Linux mint
#4
OK, I give in, I installed the nik collection in Wine (only 466 MB) Wink

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
4. Edit the NIKDfine2.py plugin (attached). This came originally from the Partha Windows Gimp. Line 85-87 change user-name to whatever is your home.
Code:
  # Build command line call
#  command = "\"C:\\Program Files\\Google\\Nik Collection\\Dfine 2\\Dfine 2 (64-Bit)\\Dfine2.exe\"" + " \"" + tempfilename + "\""
  command = "wine /home/user-name/nik/Dfine2.exe" + " \"" + tempfilename + "\""
5. Try out in Gimp

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.


Attached Files
.zip   NIKDfine2.zip (Size: 2.03 KB / Downloads: 88)
Reply


Messages In This Thread
RE: Problem getting a plugin to work on Linux mint - by rich2005 - 11-07-2022, 11:33 AM

Forum Jump: