How to get terminal access to ISO mounted with Archive Mounter?
When I mount a .iso image with Archive Mounter using Nautilus, I get a new entry under Network. I can use this in Nautilus but cannot find a way to cd to it from a terminal.
I tried installing nautilus-open-terminal but it won't work for directories mounted in this way!
Note, there are already solutions on AskUbuntu using the terminal to create a loopback device. I don't want to do this and am only interested in a way I can mount with Archive Mounter and then access with a terminal.
Solution 1:
Archive Mounter uses gvfs
to mount the ISO images.
On 14.04+, you'll find it mounted under
/run/user/$(id -u)/gvfs/
Where id -u
return return your username's UID. If you are the only user on the system, this is probably 1000
.
There's an environment variable called XDG_RUNTIME_DIR
that should hold the path /run/user/<UID>
, so you can just do:
ls $XDG_RUNTIME_DIR/gvfs
And you'll find your ISO mounted there to a directory starting with archive:host=file...