I have found a Great guide on how to do that, (it is in the Arch wiki but it works with all nautilus at every distro).
- Install the
nautilus-actions and fuseiso packages with you package manager.
- Create a file with the a name like
nautilus-actions-iso-mount.sh where ever you want (e.g /usr/bin/), and paste in it the following:
#! /bin/bash
FILE=basename "$1" MOUNTPOINT="$HOME/Desktop/$FILE"
fuseiso -p "$1" "$MOUNTPOINT"
- Create another file with a name like
nautilus-actions-iso-umount.sh where ever you want (e.g /usr/bin/), and paste in it the following:
#! /bin/bash
FILE=basename "$1" MOUNTPOINT="$HOME/Desktop/$FILE"
fusermount -u "$MOUNTPOINT"
- Make the files executeables: with
chmod +x /<path_to_scripts>/nautilus-actions-iso-*
And finelly do the follwing in order to add the scripts you have created before to your nautilus menu:
start nautilus-actions-config (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>/nautilus-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 an 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>/nautilus-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 Nautilus and selecting Mount ISO. To unmount it again, just right click the corresponding folder on your desktop and select Unmount ISO.
And there you are, it works flawlessly.
I have tested it with Gnome 3.