helloSystem / hello

Desktop system for creators with a focus on simplicity, elegance, and usability. Based on FreeBSD. Less, but better!
2.31k stars 57 forks source link

Mount archives and disk images #98

Closed probonopd closed 3 years ago

probonopd commented 3 years ago

I always am annoyed that I have to extract archives just to read e.g., README files.

Hence we should allow archives to be mouted so that the file manager can browse them, similar to what @davepl had done 25 years ago for Windows:

https://www.youtube.com/watch?v=aQUtUQ_L8Yk

Should be pretty straightforward nowadays given that libarchive and https://github.com/bramp/archivemount are a thing.

probonopd commented 3 years ago

Note: The mounted disk needs to show up under Devices in Filer so that it can be unmounted like a disk. How can we achieve this? Or is it ok to just leave it mounted forever?

In any case we should at least take care that the same archive, when double-clicked again, is not mounted again for the same user.

Check http://manpages.ubuntu.com/manpages/trusty/man1/gnome-disk-image-mounter.1.html and implement something without GNOME.

probonopd commented 3 years ago

Also check https://github.com/ralphje/imagemounter for mounting disk images that may contain multiple partitions.

probonopd commented 3 years ago

Initial implementation in https://github.com/helloSystem/ISO/commit/e0671070a98ab1b577ebcd2031bcfe40d3fef7c3