Page 9 of 10 FirstFirst ... 78910 LastLast
Results 81 to 90 of 94

Thread: HOWTO: Nautilus Script to mount .iso files

  1. #81
    Join Date
    Oct 2008
    Beans
    1

    Re: HOWTO: Nautilus Script to mount .iso files

    how about.. for the super newbs.. someone makes a 'click here' button?
    maybe right clicking & having the option to mount? i cant make sense of natalus junk & ubuntu should be more advanced than windows, not more of a pain. (not everyone wants to spend 2hrs learning how to install something)
    ~curious if ubuntu is just another way of making ppl *eat* countless hours.

  2. #82
    Join Date
    Dec 2005
    Location
    New York
    Beans
    410
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: HOWTO: Nautilus Script to mount .iso files

    I just found this script looking for a way to mount/ unmount .iso's without having to go manually through the command line every time. Thanks a lot, it works great and makes life much easier!

    David

  3. #83
    Join Date
    Mar 2006
    Location
    Canada
    Beans
    1,313
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Nautilus Script to mount .iso files

    Quote Originally Posted by dyous87 View Post
    I just found this script looking for a way to mount/ unmount .iso's without having to go manually through the command line every time. Thanks a lot, it works great and makes life much easier!

    David
    There is a program called 'archive mounter' in Ubuntu 8.10 Intrepid that has the exact same qualities as this script. It should appear when you right-click an ISO file.

  4. #84
    Join Date
    Dec 2005
    Location
    New York
    Beans
    410
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: HOWTO: Nautilus Script to mount .iso files

    Thank you!! That was dumb of me, I never even noticed it was there!

    David

  5. #85
    Join Date
    May 2007
    Location
    The Netherlands
    Beans
    26
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Nautilus Script to mount .iso files

    I tried the 8.10 mount script and it did not let me execute an .exe which was on the .iso disc.. tried it with this script (from 1st post) and worked perfectly.

    Iso was located in /media/disk/downs which is defiantly not my ~

  6. #86
    Join Date
    Mar 2006
    Location
    Canada
    Beans
    1,313
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Nautilus Script to mount .iso files

    Quote Originally Posted by phoenix81000 View Post
    I tried the 8.10 mount script and it did not let me execute an .exe which was on the .iso disc.. tried it with this script (from 1st post) and worked perfectly.

    Iso was located in /media/disk/downs which is defiantly not my ~
    Have you ran the file through the terminal?
    aka
    Code:
    wine /media/disk/downs/file.exe
    Maybe the file doesn't run through whatever version of wine you have?

  7. #87
    Join Date
    May 2006
    Location
    Saskatoon, SK, Canada
    Beans
    178
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Lightbulb Re: HOWTO: Nautilus Script to mount .iso files

    Quote Originally Posted by animacide View Post
    Code:
    if sudo mount -o loop -t iso9660 "$*" /media/"$*"
    In the mount script I would recommend changing "iso9660" to "auto", like this:
    Code:
    if sudo mount -o loop -t auto "$*" /media/"$*"
    The script wasn't able to mount an .iso that was ISO-13346 until I made that change. Still seems to work fine for everything else.

  8. #88
    Join Date
    Jan 2009
    Location
    Somewere over the rainbow
    Beans
    369
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Nautilus Script to mount .iso files

    Thank you very much for this script
    I heard that somewhere, 'Ubuntu' is a word in the African language, that means 'prosperity, good-fortune, etc.' Nice job Linux

  9. #89
    Join Date
    Jun 2007
    Location
    Towson, MD
    Beans
    2
    Distro
    Ubuntu

    Re: HOWTO: Nautilus Script to mount .iso files

    I followed the instruction to place the script in ~/.gnome2/nautilus-scripts, but it does not work. Every time I got the zenity to show "Cannot Mount xxxxx.iso"

    I separately execute the commands in the script, and I found that gksudo is not recognized.
    sudo mount works, and I could mount the iso file. However, when put together as a script, it does not work. Does anyone know what is going on?

    I have Gnome Desktop under Fedora Core 10. But I don't think there is much difference between Fedora and Ubuntu in terms of the automount script.

    The code I used.
    Code:
    #!/bin/bash
    #
    # nautilus-mount-iso
    
    # gksudo -u root -k /bin/echo "got r00t?"
    
    mkdir ~/media/"$*"
    
    if sudo mount -o loop -t iso9660 "$*" ~/media/"$*"
    then
            if zenity --question --title "ISO Mounter" --text "$* Successfully Mounted.
    
            Open Volume?"
            then
                    nautilus ~/media/"$*" --no-desktop
            fi
            exit 0
    else
            rmdir ~/media/"$*"
            zenity --error --title "ISO Mounter" --text "Cannot mount $*!"
            exit 1
    fi

  10. #90
    Join Date
    Apr 2008
    Location
    Greece
    Beans
    119
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOWTO: Nautilus Script to mount .iso files

    Nice script, thanks. I have made some improvements to it, I may post it later.
    Last edited by Levo; June 10th, 2009 at 10:29 PM.

Page 9 of 10 FirstFirst ... 78910 LastLast

Bookmarks

Posting Permissions

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