Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using Nautilus now, and back then when i was using Ubuntu i could right-click on an ISO file and automount it without the need to issue any command.

But now i am using Nautilus in Archlinux and it seems that it doesn't have the needed plugin for that to work, is anybody know what is the package name, or what should i do in order to get that feature ?

share|improve this question

2 Answers 2

If you are talking of mounting iso in gnome, then there is this link http://www.ubuntugeek.com/mount-isos-easely-in-gnome-nautilus.html

Or better

Download this nautilus-mount-image (tar.gz file) from http://mundogeek.net/nautilus-scripts/#nautilus-mount-image

This program adds a new entry to the contextual menu which allows us to mount and unmount the selected CD or DVD (iso) image. Its a python script actually as an extension to nautilus menu.

Extract the tar.gz file into a temporary directory and install the nautilus-mount-image.py script by running

$ gmake
$ gmake check
$ sudo gmake update-po
$ sudo gmake install

After this, try right click and check if the menu is updated or restart gnome (logoff and login). This menu option will be available for all users on the system.

share|improve this answer
    
@Hanan.H was my post useful to you? –  Nikhil Mulley Dec 6 '11 at 14:37
    
I will check that soon and report back, Thanks. –  Hanan N. Dec 7 '11 at 9:16
up vote 1 down vote accepted

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.

share|improve this answer
    
good one Hanan! :-) –  Nikhil Mulley Dec 9 '11 at 12:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.