ISO Mounter-Unmounter

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5
Score 72.2%
Description:

**DO NOT INSTALL with Dolphin Add-On Installer: just download and save the two files to the locations mentioned below.**

A service menu to mount and unmount iso files. It is based on KDE-Services (https://store.kde.org/p/998464/), namely on the commands in the file `ISO-Image-Tools_servicemenu.desktop`, which were added into a modified version of the service menu desktop file of Mount ISO image - here or elsewhere (store.kde.org/p/1201701/). The mount command is related to the script `iso_manager-mount-image.sh` (of KDE-Services) which is included here as such. This script file includes the following credits:

#################################################################
# For KDE-Services. 2012-2017. #
# By Geovani Barzaga Rodriguez #
# Improved by Victor Guardiola (vguardiola) Jan 5 2014 #
# -Fixed the problem of [dir|file]name with whitespaces. #
#################################################################

Therefore all credits go to the creators of these service menus and scripts.

The purpose of this is to have a simple way of mounting and unmounting images (without the many services that come with the installation of KDE-Services) that would look like the service menu Mount ISO image - here or elsewhere (store.kde.org/p/1201701/), which didn't seem to work as such.

It will mount the image in a newly created folder inside the same directory as the selected iso image. This folder will be deleted once the "unmount" option is applied to the selected iso image.

fuser, fusermount, fuseiso and kdialog must be installed.

---

INSTALLATION:

Copy the file "iso_mounter_unmounter.desktop" to `~/.local/share/kservices5/ServiceMenus/`

Copy the file "iso_manager-mount-image.sh" to `~/bin` (if you prefer other location you should edit accordingly the `Exec=` line under Desktop Action mount from the file "iso_mounter_unmounter.desktop").

Tested in Plasma 5.8 and 5.12.
Last changelog:

Updated mime type 1 year ago

model/x.stl-binary was added to the Mimetype line in the desktop file.

lightbuster

8 months ago

Hi!, I've added Spanish translation to your menus, how can I send it back to you so you can reupload it with the translation?

Thanks for the nice job with this piece of software.

Report

C

cipricus

24 days ago

Feel free to post it yourself, just add Spanish to it. I have written nothing myself, just put together different scripts as I mentioned in the description (KDE-Services (https://store.kde.org/p/998464/), namely on the commands in the file `ISO-Image-Tools_servicemenu.desktop`).

Report

9

kvanton

9 months ago

9 +

Report

9

ikelocho

10 months ago

9 +

Report

BJIacTeJIuH

1 year ago

Does the menu work correctly with all types ?? Or only with standard ISO 9660 ? In General, Krusader has a menu to mount in the submenu actions but does not understand ext4 and in my opinion would not hurt to do error handling . : IMHO and that standard error of mounting not information :IMHO

Report

C

cipricus

24 days ago

Sorry for the very old reply. I don use KDE right now. I think it is ISO only. As seen in the description all this is just the script from KDE-Services (https://store.kde.org/p/998464/), namely the commands in the file `ISO-Image-Tools_servicemenu.desktop`. KDE-Services is a big boundless of different services, it outweighs all other services here. I have just extracted one service I needed and posted separately. You could ask the real author.

Report

9

ugasesna

1 year ago

9 + works like a charm on kde plasma 5.12.
Didn't work the first time because i forgot to make the script executable, but that's on me

Report

9

jolugaju

1 year ago

It doesn't work for me. My system is Manjaro KDE. I followed the instructions step by step. First I had the message about fuseiso missing and I installed it. After that I haven't had any other messages. BTW I can't find the packages fuser, fusermount and fuseiso in the system or the respository.

Report

9

ugasesna

1 year ago

Did you make the iso_manager-mount-image.sh executable ? if not, try right click > properties > permission tab > tick the "is executable" checkbox

Report

9

jolugaju

1 year ago

Correction: I have the package fuseiso, but not the others because they don't exist in Manjaro's repositories.

Report

9

jolugaju

1 year ago

9 Very useful and simple

Report

9

jolugaju

1 year ago

I said this because I thought it would work for me, but I'm afraid it doesn't.

Report

C

cipricus

1 year ago

I have noticed that in Ubuntu 18.04, in order for a Dolphin context service menu to work for iso files, the desktop file needs `model/x.stl-binary` for the `Mimetype` line. I will edit the desktop file and re-upload it.

Report

C

cipricus

1 year ago

Refresh Dolphin if needed (F5). In Plasma 5.12 - Kubuntu 18.04, Dolphin is still affected by a bug (https://bugs.kde.org/show_bug.cgi?id=387663) where it would not always refresh to show instantly the changes made by another program, and refresh is needed. - After mounting an iso with this script it happened that when selecting again the iso in order to unmount, the option was absent until refreshing with F5.

Report

9

oshunluvr

1 year ago

9 Nice and simple. The way I like my servicemenus. Thanks.

Report

9

oshunluvr

1 year ago

I figured out the issue. There is a missing "." from the desktop file. In the last line, change

~/bin/iso_manager-mount-image.sh

to

~/.bin/iso_manager-mount-image.sh

and it works. You should fix that and re-upload the files.

Report

C

cipricus

1 year ago

I have edited the installation instructions, namely:

Copy the file "iso_manager-mount-image.sh" to `~/bin` (if you prefer other location you should edit accordingly the `Exec=` line under ` [Desktop Action mount]` from the file "iso_mounter_unmounter.desktop").

Report

C

cipricus

1 year ago

Glad it works. But no change is needed from my part: my installation instructions say `~/bin` in accordance with the command in `iso_mounter_unmounter.desktop` file that I have uploaded. If you prefer `~/.bin` (or any other path really) instead of `~/bin`, the `.desktop` file needs to be change accordingly.

Report

9

oshunluvr

1 year ago

Ah, I see that now. I've never seen a Linux install with an exposed bin directory in a user's home, nor would I want one, so I guess I read ".bin" because of my own experience. This illustrates one of the main benefits to Linux - we can all have it our own way. :)

Report

C

cipricus

1 year ago

I think the purpose of a ~/bin folder is that it operates somewhat like usr/local/bin, only is not root. If you put an executable there, it can be run from a desktop file just by name, without the full path. This is not he case with ~/.bin I think.

Report

C

cipricus

1 year ago

For example, if the script is in ~/bin, the Exec line for the action "mount" in this desktop file can be modified as `Exec=iso_manager-mount-image.sh %f` - as the path is not needed in such a case. (And the rest of the command is just to tell you if you lack fuseiso.)

Report

9

oshunluvr

1 year ago

Doesn't seem to work here. KDEneon 16.04

Report

C

cipricus

1 year ago

Have you tested KDE-Services? It can be downloaded from downloaded as tar.bz2 archive from https://store.kde.org/p/998464/, unpacked and, by opening a terminal in the resulting folder, it can be installed by running the command `sudo make install`. But it adds a lot of menu entries.

Report

9

oshunluvr

1 year ago

fuser, fusermount, fuseiso all installed. It doesn't give any output, just doesn't do anything. I don't see how it's to work without a mount point. I'm not going to install a giant list of servicemenus. I would rather keep only what I will use.

Report

C

cipricus

1 year ago

I have tested by simplifying the mount command: it works with just `whatever/path/to/iso_manager-mount-image.sh %f`

Report

Updated mime type 1 year ago

model/x.stl-binary was added to the Mimetype line in the desktop file.

12345678910
5
product-maker kvanton Jan 20 2019 9 excellent
+
product-maker ikelocho Jan 05 2019 9 excellent
+
product-maker ugasesna Jul 31 2018 9 excellent
+ works like a charm on kde plasma 5.12. Didn't work the first time because i forgot to make the script executable, but that's on me
product-maker jolugaju Jul 11 2018 9 excellent
Very useful and simple
product-maker oshunluvr Feb 13 2018 9 excellent
Nice and simple. The way I like my servicemenus. Thanks.
product-maker Base: 4 x 5.0 Ratings
floorek
Apr 22 2019
ikelocho
Jan 05 2019
rudi
Sep 09 2018
DeadNews
Aug 22 2018
Warmuser
Apr 26 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Jun 25 2018
added Feb 13 2018
downloads 24h
21
pageviews 24h 27
System Tags addon