@qva5,
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.
@all,
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:
Code:
#!/bin/bash
gksudo mkdir /media/ISO
if sudo mount -o loop,user,uid=1000,gid=100 -t auto "$*" /media/ISO
then
if zenity --question --title "ISO Mounter" --text "$* Successfully Mounted.
Open Volume?"
then
nautilus /media/ISO --no-desktop
fi
exit 0
else
sudo rmdir /media/ISO
zenity --error --title "ISO Mounter" --text "Cannot mount $*!"
exit 1
fi
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!
Regards,
Eduardo Ristow
Bookmarks