Page 10 of 10 FirstFirst ... 8910
Results 91 to 94 of 94

Thread: HOWTO: Nautilus Script to mount .iso files

  1. #91
    Join Date
    Aug 2009

    Re: HOWTO: Nautilus Script to mount .iso files

    Nice scripts indeed. This is what called vivid community.

    However my suggestion is to first try out solutions already embeded in your Ubuntu before creating new scripts, for something which has already been done and is supported.
    The bash scripts are great if you want to mount/unmount from command line, but if all you need is to have this in nautilus, it could be not worth the hassle.

    As someone has already written, since 8.10 you can right click on image file and open it with "archive mounter". If you need something more you could go with gisomounter or cdemu.

  2. #92
    Join Date
    Nov 2007
    Manchester - UK
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Nautilus Script to mount .iso files


    The main problem with archive mounter is that it doesn't result in a proper path, therefore nothing can be excecuted.

    CDEmu isn't on the main repositories and gISOmounter produces errors when run as user.

    The script is an elegant and compact solution, besides not having any dependencies.


    Since most ISOs have long names and rarely more than one file needs to be mounted at the same time, I changed the script a little bit the scripts.

    ISO Mount:
    gksudo mkdir /media/ISO
    if sudo mount -o loop,user,uid=1000,gid=100 -t auto "$*" /media/ISO
            if zenity --question --title "ISO Mounter" --text "$* Successfully Mounted. 
    Open Volume?"
                    nautilus /media/ISO --no-desktop
            exit 0
            sudo rmdir /media/ISO
            zenity --error --title "ISO Mounter" --text "Cannot mount $*!"
            exit 1
    Also with this script the volume is user manageable, meaning that you can unmount it just by right-clicking on the volume icon and selecting 'unmount', without the need for a specific script!

    Eduardo Ristow
    Last edited by frumple; July 28th, 2010 at 08:02 PM.

  3. #93
    Join Date
    May 2008
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Nautilus Script to mount .iso files

    Quote Originally Posted by RattyMan View Post
    This doesn't work with any ISO file that is outside your home directory, other than that, great script
    I just tried the scripts and it DOES work outside the home as well.


  4. #94
    Join Date
    Sep 2011

    Re: HOWTO: Nautilus Script to mount .iso files

    Great little script! thank you very much....:P

Page 10 of 10 FirstFirst ... 8910


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts