Bug 175051 - mount .iso option in context menu
Summary: mount .iso option in context menu
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: HI wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://unix.stackexchange.com/questi...
Keywords: usability
: 69111 187880 210724 372989 376285 383472 418830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-13 15:43 UTC by Alex
Modified: 2020-05-25 17:52 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In: 20.08.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2008-11-13 15:43:03 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

I think it might be handy to have a mount option in the context menu for .iso files..
Comment 1 Angel Blue01 2009-03-11 18:29:07 UTC
There already is a servicemenu for doing this on kde-look.org
Comment 2 usrrgt 2009-03-14 18:57:49 UTC
This option should come by default for ease use to anyone (like at Mac OS's Finder).
Comment 3 Angel Blue01 2009-03-14 19:35:38 UTC
I didn't realize MacOS X could already do this! Then it should be by default in KDE as well.
Comment 4 usrrgt 2009-03-15 12:40:53 UTC
It would be possible to mount any type image?
Cue Sheet too, at least.
Comment 5 Dotan Cohen 2009-05-09 00:20:51 UTC
> It would be possible to mount any type image?

If Linux (Or Windows now that KDE is cross-platform) can mount it, then it should have the option in my opinion.
Comment 6 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:21:33 UTC
Resetting assignee to default as per bug #305719
Comment 7 Elvis Angelaccio 2016-12-10 10:49:59 UTC
*** Bug 372989 has been marked as a duplicate of this bug. ***
Comment 8 Elvis Angelaccio 2017-02-10 15:24:40 UTC
*** Bug 376285 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2017-08-18 15:09:12 UTC
None of the plasmoids I've found that purport to do this actually still work today in 2017.
Comment 10 Nate Graham 2017-08-18 15:09:45 UTC
*** Bug 187880 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2017-08-18 15:10:20 UTC
*** Bug 383472 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2017-08-18 15:12:46 UTC
Er, add-ons, not plasmoids.
Comment 13 Nate Graham 2017-08-18 18:09:39 UTC
*** Bug 210724 has been marked as a duplicate of this bug. ***
Comment 14 Roman Inflianskas 2018-03-03 09:59:58 UTC
See also kde_cdemu, a KDE client for CDEmu. It adds an option "Mount image" into Actions context menu. After mounting plasma shows me a menu with CD actions, just like it's a real CD.

The drawback is that it requires additional dependency and kernel module.
Comment 15 Patrick Silva 2018-03-11 16:48:20 UTC
kde_cdemu does not work on Arch Linux.
Notthing happens when I use "Mount image" option from context menu.
Comment 16 Nate Graham 2018-03-11 20:52:38 UTC
Right, I tested them all recently and couldn't find one that actually worked. IMHO we need this functionality built-in, not provided by unstable 3rd-party code.
Comment 17 Luca Carlon 2018-03-18 15:34:31 UTC
Is using udisks an option?
Comment 18 Rui Caridade 2018-03-22 11:35:51 UTC
Linux Mint has this through fuseiso http://awen.dk/dist/kde-service-menu-fuseiso/

http://awen.dk/dist/kde-service-menu-fuseiso/

Is using fuse an option?
Comment 19 Nate Graham 2018-04-25 21:09:22 UTC
*** Bug 69111 has been marked as a duplicate of this bug. ***
Comment 20 Luca Carlon 2019-04-03 21:49:25 UTC
I had a look at smb4k: what about using KAuth?
Comment 21 Luca Carlon 2019-04-20 18:21:32 UTC
What about using fuseiso as suggested, and make dolphin also list fuse mounts? I may try to propose a patch if there is nothing against it.
Comment 22 Nate Graham 2019-04-21 19:38:26 UTC
That makes sense, especially because the fuse-kio system is being revitalized and worked on as a Google Summer of Code project. So showing FUSE volumes in Dolphin would be quite worthwhile in general IMO. But not just Dolphin; make sure they're visible to all users of the Solid framework so they show up in the file dialogs' Places Panel and Plasma's Device Notifier.

Feel free to work on this and submit a patch!
Comment 23 David Hallas 2019-04-29 14:58:25 UTC
(In reply to Luca Carlon from comment #21)
> What about using fuseiso as suggested, and make dolphin also list fuse
> mounts? I may try to propose a patch if there is nothing against it.

Actually I was also about to start looking into listing fuse mounts in Dolphin as well :D But if you are working on it I will wait for now. Please ping when/if you patches for this I will be happy to help out as much as possible.
Comment 24 Luca Carlon 2019-04-29 17:45:44 UTC
I'm not an experienced KDE dev and I cannot guarantee I can provide patches shortly. I just started to look into the projects I need to patch, haven't written anything yet. If you want to take over there is no problem for me.
Comment 25 David Hallas 2019-05-01 14:24:07 UTC
No problem, I will take a stab at it then :D
Comment 26 Nate Graham 2019-05-01 14:44:33 UTC
<3
Comment 27 Nick Stefanov 2019-09-07 12:17:20 UTC
(In reply to Patrick Silva from comment #15)
> kde_cdemu does not work on Arch Linux.
> Notthing happens when I use "Mount image" option from context menu.

It's working fine. I use it for at minimum 5 years on Arch.
Comment 28 Patrick Silva 2019-09-07 15:56:54 UTC
(In reply to Nick Stefanov from comment #27)
> (In reply to Patrick Silva from comment #15)
> > kde_cdemu does not work on Arch Linux.
> > Notthing happens when I use "Mount image" option from context menu.
> 
> It's working fine. I use it for at minimum 5 years on Arch.

this package does not work
https://aur.archlinux.org/packages/kde-cdemu-manager-kf5/

this package works
https://aur.archlinux.org/packages/kde-cdemu-manager/
Comment 29 Nick Stefanov 2019-09-07 16:02:48 UTC
I use them both.
Comment 30 Jonathan Rubenstein 2020-02-24 03:10:08 UTC
Has anyone made any patches for this? What's missing in KIO for this feature to hook into?
Comment 31 Nate Graham 2020-03-13 19:36:56 UTC
*** Bug 418830 has been marked as a duplicate of this bug. ***
Comment 32 Nate Graham 2020-05-21 22:47:41 UTC
At long last, this is in progress:
Comment 34 Nick Stefanov 2020-05-22 07:27:52 UTC
12 years later it's a great news!
Comment 35 Nate Graham 2020-05-25 17:52:38 UTC
Git commit f7f2f62606f8cfa87ec23d5924b70d4b419234e1 by Nate Graham, on behalf of Kwon-Young Choi.
Committed on 25/05/2020 at 17:52.
Pushed by ngraham into branch 'master'.

Implement mount ISO service plugin for Dolphin

The mountiso plugin adds a contextual menu entry for .iso files to
either mounting or unmounting the file as a loopback device depending on
the mount state.
This plugin uses udisksctl to either mount or unmount the iso file.
It also uses losetup to check if an iso file is already mounted
FIXED-IN: 20.08.0

M  +5    -0    CMakeLists.txt
A  +12   -0    mountiso/CMakeLists.txt
A  +184  -0    mountiso/mountisoaction.cpp     [License: GPL (v2+)]
A  +65   -0    mountiso/mountisoaction.h     [License: GPL (v2+)]
A  +13   -0    mountiso/mountisoaction.json
M  +2    -2    org.kde.dolphin-plugins.metainfo.xml

https://invent.kde.org/sdk/dolphin-plugins/commit/f7f2f62606f8cfa87ec23d5924b70d4b419234e1