|
| Link: http:// Downloads: 2628
| Submitted: Jul 9 2007 Updated: Nov 28 2007
| | Description:
MounfFile is a shell script to mount ISOs (or other image files) to a directory of your choosing. It's different from other scripts in that it uses the KDE GUI (kdialog) to get the file/mount point and password (kdesu) from the user (though everything is still done in the bash shell).
It includes a desktop icon and a Konqueror/Dolphin/D3lphin service menu entry for ISOs
(Though the script should be able to mount any filesystem image, not just ISOs).
I wrote this script about a year ago, when I was "getting in to" bash, so I just gave it a bit of a clean up.
I put it here because I hear people asking the question "How can I mount ISOs?" and "Isn't there a GUI to mounting them?" and it reminded me of the script I wrote.
Use the installGUI.sh rather than manual install, it should work for everyone (tell me if it doesn't).
--Manual Install--
Just copy the script in to ~/bin/ and it should "just work". I also included a .desktop file that you can place on your Desktop to run the script.
--Note--
With manual install:
If you install the script in another location (ie, not ~/bin/) then just edit the .desktop file to reflect the location of the script.
----------
--GUI Installer--
There is now an installer script that will install the script and put a link in the KMenu (under Utilities), it will also ask if you want a link on the desktop too.
--Note--
If you choose to install system wide then it won't ask to put a link on the desktop, but it will put one in the KMenu.
----------
--Dependencies--
It really only depends on KDE, but here's a more technical dependency list:
* kdebase(-bin) (for kdialog and kdesu)
* a posix compliant shell (sh)
* mount (to mount)
* Loopback device support in the kernel or as a module. (Most, if not all, should have this anyway).
For those running Kubuntu I have set up an apt repository:
deb http://ppa.launchpad.net/tsimpson/ubuntu gutsy main
(doesn't matter if you use gutsy or not, it will be ok to use that release name)
It should also work for any Debian based distribution, all packages should be the same.
Also note that my repository no longer has a universe/multiverse etc, everything is in main (not my choice).
It also is FULL of KDE4 RC1 packages, so if you get upgrade notifications of KDE4 packages and don't want to use mine you should just download the .deb below.
Changelog:
1.0
1st release
1.1
Fixed a couple things, it will warn you if you try to mount a file over another mount.
I also did a but of work for the UnMounting part, as it was a bit buggy.
1.1.1
Added installer script, as a stand-in for a GUI installer
1.2
Replaced stand-in installer with a GUI installer script
Installer script should work without 'tempfile' now.
1.3
You wanted it, you got it.
Added a service menu for ISOs
1.3.1
Code tidy, it needed it.
Now the code is more generic, it should work wherever KDE is installed to (doesn't assume /usr for the icons etc)
--Non-code related--
Changed the icon for mountserv.desktop to use a relative icon (not all users have KDE in /usr)
Added ChangeLog ;)
Updated README
Added licence info in COPYING
Added TODO
Added AUTHORS
1.3.2
make sure $mounts is created before use, from service menu
Quote the file:// url to allow for spaces in directories
Add sevice menu for Dolphin
move MountFile.desktop to ${prefix}/applications/kde for standards
Updated email address to new address
Added copyright info to COPYING
1.3.2.{1,2}
Fixed service menu install path and typo
1.3.2.3
D3lphin service menu
License: GPL
|
| |
Add commentBack
|