2

Actually I want to mount an ISO image (command line) without creating and specifying paths for mount command (just to point to ISO and have it mounted).
So if "Disk Image Mounter" is a script - where is it?
And in general where to find actual commands for "open with" options in Nautilus right click menu?

Ubuntu 14.04

2

1 Answer 1

1

For every command there's a corresponding .desktop file in /usr/share/applications/ or $HOME/.local/share/applications/. The command is in the line starting with ´Exec=`.

For "Disk Image Mounter it's the file /usr/share/applications/gnome-disk-image-mounter.desktop. The ´Exec` line is

Exec=gnome-disk-image-mounter %U

so the command is

gnome-disk-image-mounter %U

where %U gets replace by a list of URLs for the files you have selected, for example

gnome-disk-image-mounter file:///tmp/myimage.iso file file:///tmp/other.iso

See the Freedesktop Desktop Entry Specification for more about .desktop files.

See the gnome-disk-image-mounter manpage for more about gnome-disk-image-mounter.

1
  • Seems to be exactly what I looked for
    – Sergey
    Jun 10, 2014 at 22:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .