Blender & Gimp combination in Linux MInt
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Blender & Gimp combination in Linux MInt | Miracles Happen via gimp-user-list | 27 Jul 12:20 |
Blender & Gimp combination in Linux MInt | Pierre Equoy via gimp-user-list | 27 Jul 14:24 |
Blender & Gimp combination in Linux MInt | Ofnuts | 28 Jul 09:03 |
Blender & Gimp combination in Linux MInt
Hello,
I have Linux Mint version 18.3 Cinnamon (64) bit
I'm using Blender 2.79b (Cycles)
I downloaded Gimp as a flatpack (2.10)
This is the path where Gimp.desktop is located:
/var/lib/flatpak/app/org.gimp.GIMP/current/active/export/share/applications/org.gimp.GIMP.desktop
However, when I use the function *Edit Images Externally* in Blender I get the following error message:
Image editor could not be launched, please ensure that the path in User Preferences > File is valid, and Blender has rights to launch it
Please note:
1. I've already saved the image to edit externally. 2. I verified the path where Gimp is located. 3. I accessed Gimp as root and changed all access values to: READ & WRITE. The execute box is also checked. 4. I also saved the User Preferences in Blender.
I need this option for UV mapping which is very important in Blender. I
just need to give Blender
the right path and permission to launch the application.
Can anyone help? Thanks
Blender & Gimp combination in Linux MInt
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
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 27, 2018 8:20 PM, Miracles Happen via gimp-user-list wrote:
Hello,
I have Linux Mint version 18.3 Cinnamon (64) bit
I'm using Blender 2.79b (Cycles)
I downloaded Gimp as a flatpack (2.10)
This is the path where Gimp.desktop is located:
/var/lib/flatpak/app/org.gimp.GIMP/current/active/export/share/applications/org.gimp.GIMP.desktop
However, when I use the function Edit Images Externally in Blender I get
the following error message:
Image editor could not be launched, please ensure that the path in User
Preferences > File is valid, and Blender has rights to launch it
Please note:
1. I've already saved the image to edit externally. 2. I verified the path where Gimp is located. 3. I accessed Gimp as root and changed all access values to: READ &
WRITE. The execute box is also checked.
4. I also saved the User Preferences in Blender.
I need this option for UV mapping which is very important in Blender. I
just need to give Blender
the right path and permission to launch the application.
Can anyone help?
Thanks
gimp-user-list mailing list
List address: gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives: https://mail.gnome.org/archives/gimp-user-list
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