Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could not read the contents of {dir}
#1
I have just put Ubuntu 20.04 on a new disk and installed version 2.10.24 of GIMP using the "Ubuntu Software" application.

My images are stored on a secondary internal hard drive that is automatically mounted on boot.

When trying to open a file, if I click on any folder on that mounted drive I get the following error:

[Image: Screenshot-from-2021-08-27-20-20-15.png]


I've set all of the permissions to "On" from the Ubuntu Software app and have manually set all directories in the path to rwx across the board.

What have I forgotten?

Thanks

Keith

PS - I had no issues with the same hardware and Ubuntu 18.04 (alas, I didn't make a note of the GIMP version)
Reply
#2
Is Gimp installed as a Snap or Flatpak? Such applications are sandboxed and can only access things that are actually in your home directory tree (soft links to other parts of the system tree (external drives, but also /tmp... ) don't count, but I never tried "bind mounted" directories...).
Reply
#3
(08-27-2021, 07:25 PM)K31thw Wrote: I have just put Ubuntu 20.04 on a new disk and installed version 2.10.24 of GIMP using the "Ubuntu Software" application.
(08-27-2021, 07:35 PM)Ofnuts Wrote: Is Gimp installed as a Snap or Flatpak? ).

It's a snap... from 20.04 buntu forces snap for GIMP

(08-27-2021, 07:25 PM)K31thw Wrote: PS - I had no issues with the same hardware and Ubuntu 18.04 (alas, I didn't make a note of the GIMP version)

Because on 18.04 GIMP still was a PPA not a snap, in the beginning of the 18.04.. Big Grin

for Ubuntu 20.04 you can have alternative if you want
appimage > https://github.com/aferrero2707/gimp-app...continuous
or
PPA from ubuntuhandbook > https://launchpad.net/~ubuntuhandbook1/+...buntu/gimp
Code:
sudo add-apt-repository ppa:ubuntuhandbook1/gimp
sudo apt update
sudo apt install gimp
Reply
#4
Best avoid that Ubuntu software center and their snap packages, however

snap open media folders

from https://snapcraft.io/docs/interface-management

Code:
sudo snap connect gimp:removable-media :removable-media
Reply
#5
(08-28-2021, 09:05 AM)PixLab Wrote: PPA from ubuntuhandbook  > https://launchpad.net/~ubuntuhandbook1/+...buntu/gimp
Code:
sudo add-apt-repository ppa:ubuntuhandbook1/gimp
sudo apt update
sudo apt install gimp

Many thanks for the responses. I used the above option and it did the trick Smile 

Am still feeling my way around Linux and, although I love it, it can be very frustrating.

Thank goodness for the web!

Again, I appreciate the help given
Reply
#6
(08-28-2021, 07:36 PM)K31thw Wrote: Am still feeling my way around Linux and, although I love it, it can be very frustrating.

On that note, you might not know how appimage are working (and I forgot to mention it).
Once you've downloaded it don't click on it to launch it, but instead RIGHT click on it > Properties > tab "Permissions" and tick "Allow executing file as a program" > Click OK,
Now you can launch it normally with a left click Wink
   

You can have the appimage and the PPA at the same time on your system, they just won't work at the same time, close one and you will be able to open the other one and vice versa, if you click on the appimage while the PPA is open (or vice-versa), your system will just highlight the GIMP which is already open, so no worries to have Wink
Reply


Forum Jump: