Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why will GIMP not read a jpg file ?
#1
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.
Reply
#2
(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/+...buntu/gimp

or an appimage see: https://www.gimp-forum.net/Thread-new-gi...4#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.

   
Reply
#3
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/+...buntu/gimp , there is also an AppImage from Tas_mania (17) on github (I forgot the link)
Patrice
Reply
#4
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.
Reply
#5
(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.
Reply


Forum Jump: