Is there a KDE tool for mounting disk images, like GNOME Disks?

30,898

Solution 1

If what is wanted is a separate Qt-based gui, Acetoneiso qualifies: it is written in Qt and can mount and unmount images; it installs fuseiso and two qt packages.

But in spite of its name gnome-disk-utility only comes by itself with no packages foreign to KDE. It includes the gnome-disk-image-mounter tool which does the actual job.

To install:

sudo apt install gnome-disk-utility

To run "Disks":

gnome-disks

To mount an image file:

gnome-disk-image-mounter

or execute the file /usr/share/applications/gnome-disk-image-mounter.desktop. This executable is not found by the launcher as long as it contains the line NoDisplay=true; change that to false to launch it as any other program.

(then select the iso)

To add it to context menu:

kate ~/.local/share/kservices5/ServiceMenus/mount_gnomedisks.desktop

(be sure you have the folder ~/.local/share/kservices5/ServiceMenus)

then paste these lines:

[Desktop Entry]

Actions=mount
Icon=dialog-information
MimeType=application/x-cd-image;application/x-raw-disk-image;model/x.stl-binary
ServiceTypes=KonqPopupMenu/Plugin
Type=Service
X-KDE-Priority=TopLevel


[Desktop Action mount]
Exec=gnome-disk-image-mounter %U
Icon=drive-removable-media
Name=Mount image 

and save.


And there are also the Dolphin services; most of those do not work, as they are outdated, and the newest ones are not the best rated. Luckily, there are exceptions, like KDE-Services (https://store.kde.org/p/998464). It seem it cannot be installed from the Dolphin-Services button; instead, it can be downloaded as tar.bz2 archive, unpacked and, by opening a terminal in the resulting folder, it can be installed by running the command sudo make install. This is a collection of services, desktop files installed at system level in /usr/share/kservices5/ServiceMenus/ and scripts installed in usr/share/applications.

To have a simplified service menu based on this, see this answer.

Solution 2

There should be an Dolphin (KDE's default filemanager) plug-in.

Dolphin: Control -> Configure Dolphin... -> Services -> Download New Services... -> Search for 'mount'


UPDATE:

What works in 2018 with Plasma 5.8 is KDE Services.

enter image description here

There is also the possibility of modifying such scripts - for example this here.

enter image description here

Share:
30,898

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    I am not aware of a KDE-native tool to mount iso images in Plasma 5 and I keep using the Gnome tool gnome-disk-utility, as indicated here.

    Is there a KDE version of this tool? It is able to do more than just add a context menu entry to mount iso files, like setting mounting options and backing up partitions, but I am mostly interested in the 'mount iso' option.

  • Michael D.
    Michael D. over 7 years
  • Admin
    Admin over 6 years
    I have updated the above answer with a service that works.