Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
So I guess you don't want to extract the iso? This would allow access through a terminal with the cd command. –  mchid Aug 31 at 12:05
    
.iso is useful if I need to burn quickly. So extracting would result in two 'copies' of everything - one compressed as iso and one extracted. –  TenLeftFingers Aug 31 at 15:24

1 Answer 1

up vote 2 down vote accepted

Archive Mounter uses gvfs to mount the ISO images.

On 14.04, you'll find it mounted under

/run/user/<UID>/gvfs/

Where UID is your username's UID. If you are the only user on the system, this is probably 1000. You can find out your UID by running id.

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...

share|improve this answer
    
Thank you Alaa Ali! That's exactly what I need. The last command's output was very verbose and didn't take me anywhere but the first part contains my solution. –  TenLeftFingers Aug 31 at 15:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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