Re: [Gimp-user] Blender & Gimp combination in Linux MInt



Also, just in case it matters, the flatpak Gimp has its own /tmp (in other words it doesn't see files in the system /tmp), so if Blender tries to start it on an image it put in the regular /tmp, it will fail.

On 07/27/18 16:24, Pierre Equoy via gimp-user-list wrote:
Hello,

My understanding is that, in Blender, you set up the external image editor as 
"/var/lib/flatpak/app/org.gimp.GIMP/current/active/export/share/applications/org.gimp.GIMP.desktop". Is that 
what you meant?

If that's the case, I think it's not the right way to do. The .desktop files are just a way for Linux desktop 
environments (such as Gnome) to have information about programs that can be launched (such as the program 
title, its icon, the path to the binary to actually launch when the user clicks on the icon, etc.).

Try to open this .desktop file with a text editor. You should see something like:

[Desktop Entry]
Version=1.0
Type=Application
Name=GNU Image Manipulation Program
(...)
Exec=gimp-2.10 %U
TryExec=gimp-2.10
(...)

In my case, what the desktop file is saying is to execute the command "gimp-2.10 %U" whenever I click on the 
Gimp icon.

In order to know where is located that `gimp-2.10` binary file, you can use the `which` command:

$ which gimp-2.10
/usr/bin/gimp-2.10

(yes, I'm using the version from a PPA, not the Flatpak version, so my path is for sure different from the 
one you're going to find.)

Hope this helps

‚Äč--
Pierre




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]