-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

MountFile

   1.3.2.3  

KDE CD/DVD Software

Score 78%
Link:  http://
Minimum required   KDE 3.x
Downloads:  2610
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




    LicenseGPL
    Source(MountFile source)
    Debian(Debian/Kubuntu Pacakge)
    Send to a friend
    Subscribe
    Other  Apps  from stdin
    Report inappropriate content



    goto page:  1  2 

    -
    .

     very nice, useful

     
     by BorgQueen on: Jul 9 2007
     
    Score 50%

    Thanks, great little script.
    Well done!


    Reply to this

    -

     Re: very nice, usef

     
     by stdin on: Jul 9 2007
     
    Score 50%

    Thanks, I only remembered it because someone asked me "How can I mount an ISO file?" and it sparked my memory :)


    Reply to this

    -
    .

     Re: Re: very nice, usef

     
     by BorgQueen on: Jul 10 2007
     
    Score 50%

    I'm very glad this person asked LOL!


    Reply to this

    -
    .

     just in case

     
     by fdmarco3 on: Jul 11 2007
     
    Score 50%

    just in case you don't know:
    http://www.kde-apps.org/content/show.php?content=44805

    bye :)


    Reply to this

    -
    .

     just in case

     
     by fdmarco3 on: Jul 11 2007
     
    Score 50%

    just in case you don't know:
    http://www.kde-apps.org/content/show.php?content=44805

    bye :)


    Reply to this

    -

     Re: just in case

     
     by stdin on: Jul 11 2007
     
    Score 50%

    I didn't want a "feature rich" application, I just wanted something simple to do a simple task. Just to mount/unmount filesystem images (mostly ISOs). I could have used fuseiso too, instead of plain mount (and it would be a simple patch to do so), but I don't need to. Like it says in the description, I wrote it when playing with bash scripting, just to make things a bit simpler for me.
    MountFile just does exactly "what it says on the tin", it un/mounts a file.


    Reply to this

    -
    .

     Re: Re: just in case

     
     by chandraiitk on: Jul 12 2007
     
    Score 50%

    yup. I also back ur position. In fact, I couldn't get that AcetoneISO2 installed on my system because of many-many dependencies. This one is too simple and working great. However, if u can add an installer with it, which can create an entry in K-menu, it would be great.

    Thanks anyway for the good app!


    Owning computers nowadays is a bit like having a pet rabbit,
    It needs to be fed with right stuff or it gets sick.

    Try Firefox [http://www.mozilla.com/firefox] --- the right stuff!

    Reply to this

    -

     Re: Re: Re: just in

     
     by bulletxt on: Jul 12 2007
     
    Score 50%

    he was just joking ;)
    keep up the good work :)


    The AcetoneISO Team
    Reply to this

    -

     Re: Re: Re: just in

     
     by stdin on: Jul 12 2007
     
    Score 50%

    I've just added a text installer to it that will do that. Give me a little while and I'll have it converted to use the GUI too :)


    Reply to this

    -

     Re: Re: Re: Re: just

     
     by stdin on: Jul 12 2007
     
    Score 50%

    And now the GUI installer.
    (I forgot how much I like scripting :D)


    Reply to this

    -
    .

     GUI installer error

     
     by chandraiitk on: Jul 12 2007
     
    Score 50%

    1. If I try to install (as root) using the latest GUI, it gives the following error:

    [root@maya mountfile-1.2]# ./installGUI.sh
    ./installGUI.sh: line 12: tempfile: command not found
    kbuildsycoca running...
    DCOP Cleaning up dead connections.

    DCOP Cleaning up dead connections.
    kbuildsycoca running...
    unix_connect: can't connect to server (unix:/tmp/ksocket-root/maya-1524-469648a7)
    Launched ok, pid = 5853
    There are already artsd objects registered, looking if they are active...
    ... cleaned 5 unused mcop global references.

    ./installGUI.sh: line 72: $TEMPFILE: ambiguous redirect
    mv: missing destination file operand after `/usr/share/applnk/Utilities/mountfile.desktop'
    Try `mv --help' for more information.



    2. If I try to install (as "user") using the latest GUI, it gives the following error:

    [shekharc@maya mountfile-1.2]$ ./installGUI.sh
    ./installGUI.sh: line 12: tempfile: command not found
    ./installGUI.sh: line 101: $TEMPFILE: ambiguous redirect
    mv: missing destination file operand after `/home/shekharc/.kde/share/applnk/Utilities/mountfile.desktop'
    Try `mv --help' for more information.
    cp: cannot stat `/home/shekharc/.kde/share/applnk/Utilities/mountfile.desktop': No such file or directory



    It, however, copies the "mountfile" in /usr/bin or $HOME/bin. There seems to be problem with .desktop file.


    Owning computers nowadays is a bit like having a pet rabbit,
    It needs to be fed with right stuff or it gets sick.

    Try Firefox [http://www.mozilla.com/firefox] --- the right stuff!

    Reply to this

    -

     Re: GUI installer er

     
     by stdin on: Jul 12 2007
     
    Score 50%

    Hmm, seems you don't have the tempfile command. I should have probably checked if that's standard in most distros first. For me it's in the "debianutils" package (only just checked). You can fix this by setting the tempfile directly, change line 12 from:
    export TEMPFILE="$(tempfile)"
    to:
    export TEMPFILE="/tmp/tempfile"

    I'll have to find a workaround for this, but that should get you past the install.



    -

     Re: GUI installer er

     
     by stdin on: Jul 12 2007
     
    Score 50%

    You'll be glad to hear that I've removed the usage of 'tempfile' now, so it should work.

    For those who are interested, TEMPFILE="/tmp/temp.$$"



    -
    .

     Re: GUI installer er

     
     by chandraiitk on: Jul 12 2007
     
    Score 50%

    I am running FC6. I searched for the "tempfile" command but it doesn't seem to exist for fedora. I even couldn't locate the source-code for this file.

    Could u please provide a link to the "tempfile" source or if possible, use some alternate way to bypass this command?!

    Thanks!!


    Owning computers nowadays is a bit like having a pet rabbit,
    It needs to be fed with right stuff or it gets sick.

    Try Firefox [http://www.mozilla.com/firefox] --- the right stuff!

    Reply to this

    -
    .

     Re: GUI installer er

     
     by chandraiitk on: Jul 12 2007
     
    Score 50%

    I am running FC6. I searched for the "tempfile" command but it doesn't seem to exist for fedora. I even couldn't locate the source-code for this file.

    Could u please provide a link to the "tempfile" source or if possible, use some alternate way to bypass this command?!

    Thanks!!


    Owning computers nowadays is a bit like having a pet rabbit,
    It needs to be fed with right stuff or it gets sick.

    Try Firefox [http://www.mozilla.com/firefox] --- the right stuff!

    Reply to this

    -
    .

     Working great!

     
     by chandraiitk on: Jul 12 2007
     
    Score 50%

    It got installed now properly and working great. Thanks for the quick fix.

    Please keep the good work up. As one of the users suggested, a service menu entry will be great!!


    Owning computers nowadays is a bit like having a pet rabbit,
    It needs to be fed with right stuff or it gets sick.

    Try Firefox [http://www.mozilla.com/firefox] --- the right stuff!

    Reply to this

    -

     Excellent!

     
     by tryfan on: Jul 12 2007
     
    Score 50%

    Very nice utility!
    The only thing I miss is being able to use it from the right-click menu. (Or is it already there, and I just don't see it? :-) )


    Reply to this

    -

     Re: Excellent!

     
     by stdin on: Jul 12 2007
     
    Score 50%

    That functionality isn't there yet. I'd have to modify the script a bit to do that, I'll put it on my to-do list.


    Reply to this

    -
    .

     Wooh

     
     by stdin on: Jul 12 2007
     
    Score 50%

    Not bad work for 3 days :)


    Reply to this

    -

     No service menu

     
     by AndreSomers on: Aug 8 2007
     
    Score 50%

    I installed using the GUI installer for user only on Kubuntu, but I'm not getting the ISO service menu. Other than that, it works great! Thanks for a nice tool.


    Reply to this

    -

     Re: No service menu

     
     by stdin on: Aug 9 2007
     
    Score 50%

    Ok, can you make sure that "~/.kde/share/apps/konqueror/servicemenus/mountserv.desktop" exists, if it does then try restarting Konqueror, with "killall konqueror", or just logout and back in. Sometimes Konqueror needs a kick to reread it's configuration files.
    Let me know if it works or not :)


    Reply to this

    -

     Re: Re: No service menu

     
     by AndreSomers on: Aug 9 2007
     
    Score 50%

    That file isn't there, I fear. The directory exists, but it is empty.


    Reply to this

    -

     Re: Re: Re: No service menu

     
     by AndreSomers on: Aug 9 2007
     
    Score 50%

    After coping the missing file from the archive and loggin in again, it works.


    Reply to this

    -

     Re: No service menu

     
     by stdin on: Aug 10 2007
     
    Score 50%

    It's strange that the installer didn't copy the file over. But I guess that's the problem with installer scripts, they sometimes don't do what they should.
    The good news, however, is that I've finally learnt how to create a .deb package, so that should make life easier. The only think it doesn't do is install for the user only (but that's the nature of packages).


    Reply to this

    goto page:  1  2 

    Add commentBack






    -
    -
    Do you like or dislike Ubuntu Unity?
     Yes, unity is alien technology!
     It is less confusing than Gnome 3 default, shell.
     Granny thinks it is much more usable than Gnome 2
     Canonical is embarrasing itself with this split project
     Gnome 3 default shell is much better
     I dislike Unity, Gnome 3 default shell is alien technology!
     None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

    resultmore
     
     
     Who we are
    Contact
    More about us
    Frequently Asked Questions
    Register
    Twitter
    Blog
    Explore
    Apps
    Jobs
    Knowledge
    Events
    People
    Updates on identi.ca
    Updates on Twitter
    Facebook App
    Content RSS   
    Events RSS   

    Participate
    Groups
    Forum
    Add App
    Public API
    About KDE-Apps.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Advertising
    Sponsor us
    Report Abuse
     

    Copyright 2003-2014 KDE-Apps.org Team  
    All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    KDE and K Desktop Environment are trademarks of KDE e.V.