geeqie
geeqie copied to clipboard
Read-only mode
- Geeqie version [geeqie --version]: Geeqie 2.2 GTK3
I would like to know whether geeqie supports a read-only mode, so all operations which would change the file (exif modification, 90º rotations, etc.) are not allowed and result in either an error message or no change to the filesystem.
I often like to preview new images from my camera, but want to make sure I don't make any changes to them.
Thank you.
There is no read-only mode. On Edit/Preferences/File Filters
there is a Writable
column.
Unfortunately this only covers writing metadata (and there is no method to enable/disable this).
Some Geeqie actions are executed by external programs.
Setting the read-only flag when you download the files from the camera is the only thing I can suggest.
You could probably achieve this by using a FUSE read-only pass-through filesystem (so you point geeqie at the FUSE mountpoint instead of the actual image directory and it simply denies any write requests). A quick search brings up https://github.com/cognusion/fuse-rofs and the slightly more complex fork https://github.com/gburca/rofs-filtered. There are probably more out there.
Edit: If you have root access you could also bind mount the directory containing the images:
mount -o bind,ro <rw-directory> <ro-directory>