10-11-2021, 09:07 AM
I suspect that this comes from the virtual filesystem used by AppImage (equivalent problems with snap and flatpak) (hence your squashfs-rootn because AFAIK AppImage uses SquashFS). The gimp object has a bunch of calls to determine directories. In the gimp console, try:
So
Code:
➤> [x for x in dir(gimp) if 'directory' in x]
['data_directory', 'directory', 'locale_directory', 'plug_in_directory', 'sysconf_directory', 'user_directory']
So
- directory is the user Profile (~/.config/GIMP/2.10)
- data_directory is the add-ons directory (brushes, etc... and also scripts) (/usr/share/gimp/2.0)
- plug_in_directory is the plugins directory (/usr/lib/gimp/2.0)
- sysconf_directory is some initial values for the user profiles (/etc/gimp/2.0/)
- user_directory is a function that takes an integer, depending on integer you get:
- 0: ~/Desktop
- 1: ~/Documents
- 2: ~/Downloads
- 3: ~/Music
- 4: ~/Pictures
- 5: ~/Public
- 6: ~/Templates
- 7: ~/Videos
- 0: ~/Desktop
- so for instance gimp.user_directory(4) is where you expect the user to keep images. These directories have equivalents across Windows, OSX, and the various Linux desktops.