Difference between revisions of "FuseISO"
m (→Using it with Nautilus) |
m (fix ES link) |
||
(58 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:FUSE]] |
− | + | [[es:FuseISO]] | |
+ | [[ja:Fuseiso]] | ||
+ | [https://sourceforge.net/projects/fuseiso/ FuseISO] is a [[FUSE]] module to let unprivileged users mount [[wikipedia:ISO_9660|ISO]] filesystem images (''.iso'', ''.nrg'', ''.bin'', ''.mdf'' and ''.img''). | ||
− | == | + | == Installation == |
− | + | [[Install]] the {{Pkg|fuseiso}} package. | |
− | == | + | == Usage == |
− | + | === Mounting === | |
− | To mount an image | + | To mount an image: |
− | |||
− | + | $ fuseiso ''image'' ''directory'' | |
− | |||
− | + | The destination mount point must be writable and have no other mounted files or devices to it. | |
− | + | Run {{ic|fuseiso -h}} for all the available options. | |
− | + | === Unmounting === | |
+ | |||
+ | To unmount the image: | ||
+ | |||
+ | $ fusermount -u ''directory'' | ||
+ | |||
+ | The command can be used to disconnect other storage devices mounted by other mount tools. | ||
+ | |||
+ | == Integration == | ||
+ | |||
+ | === GNOME Files === | ||
For users of GNOME there is an easy way of using fuseiso from the nautilus-context menu. | For users of GNOME there is an easy way of using fuseiso from the nautilus-context menu. | ||
− | |||
− | {{hc| | + | First you will need the {{Pkg|filemanager-actions}} package, then you need to save the following scripts to a folder of your choice (e.g. {{ic|~/.local/bin/}}): |
+ | |||
+ | {{hc|filemanager-actions-iso-mount.sh|<nowiki> | ||
#!/bin/bash | #!/bin/bash | ||
Line 34: | Line 45: | ||
</nowiki>}} | </nowiki>}} | ||
− | {{hc| | + | {{hc|filemanager-actions-iso-umount.sh|<nowiki> |
#!/bin/bash | #!/bin/bash | ||
Line 43: | Line 54: | ||
</nowiki>}} | </nowiki>}} | ||
− | + | Make them executable: | |
− | chmod +x '' | + | |
+ | $ chmod +x /''path_to_scripts''/filemanager-actions-iso-* | ||
− | Now, start '' | + | Now, start ''fma-config-tool'' (''System > Preferences > Nautilus Actions Configuration''). |
Add a new action with the following settings: | Add a new action with the following settings: | ||
Line 52: | Line 64: | ||
* Label: ''Mount ISO'' | * Label: ''Mount ISO'' | ||
* Icon: A symbol of your choice (eg: ''gtk-cdrom'') | * Icon: A symbol of your choice (eg: ''gtk-cdrom'') | ||
− | * Path: {{ic|'' | + | * Path: {{ic|/''path_to_scripts''/filemanager-actions-iso-mount.sh}} |
* Parameters: ''%F'' | * Parameters: ''%F'' | ||
* Working directory: ''%d'' | * Working directory: ''%d'' | ||
Line 59: | Line 71: | ||
* Mimetypes: ''*/*'' | * Mimetypes: ''*/*'' | ||
− | With this action you can mount ISO-images to your Desktop. It will create | + | With this action you can mount ISO-images to your Desktop. It will create a folder in ~/Desktop with the name of the iso. fuseiso will mount the iso to this folder. |
And a second one: | And a second one: | ||
Line 65: | Line 77: | ||
* Label: ''Unmount ISO'' | * Label: ''Unmount ISO'' | ||
* Icon: A symbol of your choice (eg: ''gtk-cdrom'') | * Icon: A symbol of your choice (eg: ''gtk-cdrom'') | ||
− | * Path: {{ic|'' | + | * Path: {{ic|/''path_to_scripts''/filemanager-actions-iso-umount.sh}} |
* Parameters: ''%F'' | * Parameters: ''%F'' | ||
* Working directory: ''%d'' | * Working directory: ''%d'' | ||
Line 74: | Line 86: | ||
This second action will unmount the mounted iso and remove the folder from the desktop. | This second action will unmount the mounted iso and remove the folder from the desktop. | ||
− | Sometimes you have to logout to be able to mount any image of the given types simply by right clicking it in | + | Sometimes you have to logout to be able to mount any image of the given types simply by right clicking it in Files and selecting ''Mount ISO''. To unmount it again, just right click the corresponding folder on your desktop and select ''Unmount ISO''. |
− | == | + | === Nemo === |
− | + | [[Nemo]] as a file browser has a packaged function on right click to mount an iso. unmount is done by clicking on the respective icon of the mounted iso, just like one would do for USB drives. |
Latest revision as of 20:34, 10 November 2018
FuseISO is a FUSE module to let unprivileged users mount ISO filesystem images (.iso, .nrg, .bin, .mdf and .img).
Installation
Usage
Mounting
To mount an image:
$ fuseiso image directory
The destination mount point must be writable and have no other mounted files or devices to it.
Run fuseiso -h
for all the available options.
Unmounting
To unmount the image:
$ fusermount -u directory
The command can be used to disconnect other storage devices mounted by other mount tools.
Integration
GNOME Files
For users of GNOME there is an easy way of using fuseiso from the nautilus-context menu.
First you will need the filemanager-actions package, then you need to save the following scripts to a folder of your choice (e.g. ~/.local/bin/
):
filemanager-actions-iso-mount.sh
#!/bin/bash FILE=$(basename "$1") MOUNTPOINT="$HOME/Desktop/$FILE" fuseiso -p "$1" "$MOUNTPOINT"
filemanager-actions-iso-umount.sh
#!/bin/bash FILE=$(basename "$1") MOUNTPOINT="$HOME/Desktop/$FILE" fusermount -u "$MOUNTPOINT"
Make them executable:
$ chmod +x /path_to_scripts/filemanager-actions-iso-*
Now, start fma-config-tool (System > Preferences > Nautilus Actions Configuration).
Add a new action with the following settings:
- Label: Mount ISO
- Icon: A symbol of your choice (eg: gtk-cdrom)
- Path:
/path_to_scripts/filemanager-actions-iso-mount.sh
- Parameters: %F
- Working directory: %d
- Basenames: *.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)
- Match case: "must match one of"
- Mimetypes: */*
With this action you can mount ISO-images to your Desktop. It will create a folder in ~/Desktop with the name of the iso. fuseiso will mount the iso to this folder.
And a second one:
- Label: Unmount ISO
- Icon: A symbol of your choice (eg: gtk-cdrom)
- Path:
/path_to_scripts/filemanager-actions-iso-umount.sh
- Parameters: %F
- Working directory: %d
- Basenames: *.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)
- Match case: "must match one of"
- Mimetypes: */*
This second action will unmount the mounted iso and remove the folder from the desktop.
Sometimes you have to logout to be able to mount any image of the given types simply by right clicking it in Files and selecting Mount ISO. To unmount it again, just right click the corresponding folder on your desktop and select Unmount ISO.
Nemo
Nemo as a file browser has a packaged function on right click to mount an iso. unmount is done by clicking on the respective icon of the mounted iso, just like one would do for USB drives.