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

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 '14 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.