Gimp-Forum.net
Why will GIMP not read a jpg file ? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage)
+---- Forum: Linux and other Unixen (https://www.gimp-forum.net/Forum-Linux-and-other-Unixen)
+---- Thread: Why will GIMP not read a jpg file ? (/Thread-Why-will-GIMP-not-read-a-jpg-file)



Why will GIMP not read a jpg file ? - Ronald Walker - 10-27-2024

Hi, I am running Gimp 2.10.38 on a PC running UBUNTU 24.04. Gimp is on a SSD with the other apps and my photographs are on a 2Tb HD with other data. When I try to open a photograph in Gimp, it recognises it but says "Reading permission denied" I can open the file which is a jpg in other programmes with no problem. I put one of the photographs on to a USB stick and checked the properties which included permission for read and write. I tried to get Gimp to read it but got the same response. I tried the USB stick on another computer running Windows 10 and Gimp on that PC accepted the file with no problem. What am I missing here ?
Ron.


RE: Why will GIMP not read a jpg file ? - rich2005 - 10-27-2024

(10-27-2024, 09:46 AM)Ronald Walker Wrote: Hi, I am running Gimp 2.10.38 on a PC running UBUNTU 24.04. Gimp is on a SSD with the other apps and my photographs are on a 2Tb HD with other data. When I try to open a photograph in Gimp, it recognises it but says "Reading permission denied" I can open the file which is a jpg in other programmes with no problem. I put one of the photographs on to a USB stick and checked the properties which included permission for read and write. I tried to get Gimp to read it but got the same response. I tried the USB stick on another computer running Windows 10 and Gimp on that PC accepted the file with no problem. What am I missing here ?
Ron.

You are probably not missing anything. It will depend on the Gimp package format. The default for ubuntu "noble" is Gimp 2.10.36 You could have a flatpak or a snap Gimp 2.10.38 Both are sandboxed and have problems accessing anything other than "home". Other possibilities are a regular installation from a PPA.

https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/gimp

or an appimage see: https://www.gimp-forum.net/Thread-new-gimp-2-10-38-appimages-with-python2?pid=39204#pid39204

I use a combination here: kubuntu 24.04 / Gimp 2.10.38 Gimp from the PPA and a smaller appimage launcher to add python support. Best of both worlds python most of the time but run the base Gimp (no python) for scanning with  XSane .

This laptop also SSD for OS and Home and here with a 2TB usb drive mounted. No problems here, so it is possible.

[attachment=12493]


RE: Why will GIMP not read a jpg file ? - PixLab - 10-27-2024

You installed GIMP via the software center of Ubuntu and it's a snap. My condolences ..
Uninstall it, and instead install it via the official website (flatpak, berk), of via the PPA from Panda Jim over-there > https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/gimp , there is also an AppImage from Tas_mania (17) on github (I forgot the link)


RE: Why will GIMP not read a jpg file ? - Ofnuts - 10-27-2024

Note that if you run a flatpak version you can use additional allowed directories with the --filesystem option, something like

flatpak run --filesystem /media/ronald org.gimp.GIMP

see man flatpak-run for other ways to skirt some of the sandboxing.


RE: Why will GIMP not read a jpg file ? - Ronald Walker - 10-28-2024

(10-27-2024, 01:36 PM)Ofnuts Wrote: Note that if you run a flatpak version you can use additional allowed directories with the --filesystem option, something like

flatpak run --filesystem /media/ronald org.gimp.GIMP

see man flatpak-run for other ways to skirt some of the sandboxing.

Thank you all for that very helpful list of what to do. I will now go away and do it with my fingers crossed.
Ron.