How to get terminal access to ISO mounted with Archive Mounter?












6















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 '14 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 '14 at 15:24
















6















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 '14 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 '14 at 15:24














6












6








6


1






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














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.







14.04 command-line mount iso






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 31 '14 at 11:58









TenLeftFingersTenLeftFingers

528825




528825













  • 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 '14 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 '14 at 15:24



















  • 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 '14 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 '14 at 15:24

















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 '14 at 12:05





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 '14 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 '14 at 15:24





.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 '14 at 15:24










1 Answer
1






active

oldest

votes


















7














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






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











  • mounted volumes dont seem to mount here on Debian Jessie Cinnamon's default (Gnome) Files file browser. Additionally "Terminal Here" context item drops right into the home directory. Edit, it lists this under "Network" in the sidebar, and yeah, any idea where one can find where archive:// "network locations" are mounted?

    – ThorSummoner
    Feb 7 '17 at 19:01













  • This may be related: superuser.com/a/720528/309066

    – ThorSummoner
    Feb 7 '17 at 19:13











  • I can confirm that for Fedora (v25 at least) the answer is bang on.

    – Mircea Ion
    Mar 19 '17 at 1:59











  • On 16.04, the gvfs dir is empty. A 16.04 friendly update to the answer would be great :)

    – TenLeftFingers
    Jul 18 '17 at 18:50











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f518356%2fhow-to-get-terminal-access-to-iso-mounted-with-archive-mounter%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














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






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











  • mounted volumes dont seem to mount here on Debian Jessie Cinnamon's default (Gnome) Files file browser. Additionally "Terminal Here" context item drops right into the home directory. Edit, it lists this under "Network" in the sidebar, and yeah, any idea where one can find where archive:// "network locations" are mounted?

    – ThorSummoner
    Feb 7 '17 at 19:01













  • This may be related: superuser.com/a/720528/309066

    – ThorSummoner
    Feb 7 '17 at 19:13











  • I can confirm that for Fedora (v25 at least) the answer is bang on.

    – Mircea Ion
    Mar 19 '17 at 1:59











  • On 16.04, the gvfs dir is empty. A 16.04 friendly update to the answer would be great :)

    – TenLeftFingers
    Jul 18 '17 at 18:50
















7














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






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











  • mounted volumes dont seem to mount here on Debian Jessie Cinnamon's default (Gnome) Files file browser. Additionally "Terminal Here" context item drops right into the home directory. Edit, it lists this under "Network" in the sidebar, and yeah, any idea where one can find where archive:// "network locations" are mounted?

    – ThorSummoner
    Feb 7 '17 at 19:01













  • This may be related: superuser.com/a/720528/309066

    – ThorSummoner
    Feb 7 '17 at 19:13











  • I can confirm that for Fedora (v25 at least) the answer is bang on.

    – Mircea Ion
    Mar 19 '17 at 1:59











  • On 16.04, the gvfs dir is empty. A 16.04 friendly update to the answer would be great :)

    – TenLeftFingers
    Jul 18 '17 at 18:50














7












7








7







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






share|improve this answer















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







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 17 at 4:16









Pablo Bianchi

2,6151532




2,6151532










answered Aug 31 '14 at 12:44









Alaa AliAlaa Ali

22.2k96894




22.2k96894













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











  • mounted volumes dont seem to mount here on Debian Jessie Cinnamon's default (Gnome) Files file browser. Additionally "Terminal Here" context item drops right into the home directory. Edit, it lists this under "Network" in the sidebar, and yeah, any idea where one can find where archive:// "network locations" are mounted?

    – ThorSummoner
    Feb 7 '17 at 19:01













  • This may be related: superuser.com/a/720528/309066

    – ThorSummoner
    Feb 7 '17 at 19:13











  • I can confirm that for Fedora (v25 at least) the answer is bang on.

    – Mircea Ion
    Mar 19 '17 at 1:59











  • On 16.04, the gvfs dir is empty. A 16.04 friendly update to the answer would be great :)

    – TenLeftFingers
    Jul 18 '17 at 18:50



















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











  • mounted volumes dont seem to mount here on Debian Jessie Cinnamon's default (Gnome) Files file browser. Additionally "Terminal Here" context item drops right into the home directory. Edit, it lists this under "Network" in the sidebar, and yeah, any idea where one can find where archive:// "network locations" are mounted?

    – ThorSummoner
    Feb 7 '17 at 19:01













  • This may be related: superuser.com/a/720528/309066

    – ThorSummoner
    Feb 7 '17 at 19:13











  • I can confirm that for Fedora (v25 at least) the answer is bang on.

    – Mircea Ion
    Mar 19 '17 at 1:59











  • On 16.04, the gvfs dir is empty. A 16.04 friendly update to the answer would be great :)

    – TenLeftFingers
    Jul 18 '17 at 18:50

















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





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













mounted volumes dont seem to mount here on Debian Jessie Cinnamon's default (Gnome) Files file browser. Additionally "Terminal Here" context item drops right into the home directory. Edit, it lists this under "Network" in the sidebar, and yeah, any idea where one can find where archive:// "network locations" are mounted?

– ThorSummoner
Feb 7 '17 at 19:01







mounted volumes dont seem to mount here on Debian Jessie Cinnamon's default (Gnome) Files file browser. Additionally "Terminal Here" context item drops right into the home directory. Edit, it lists this under "Network" in the sidebar, and yeah, any idea where one can find where archive:// "network locations" are mounted?

– ThorSummoner
Feb 7 '17 at 19:01















This may be related: superuser.com/a/720528/309066

– ThorSummoner
Feb 7 '17 at 19:13





This may be related: superuser.com/a/720528/309066

– ThorSummoner
Feb 7 '17 at 19:13













I can confirm that for Fedora (v25 at least) the answer is bang on.

– Mircea Ion
Mar 19 '17 at 1:59





I can confirm that for Fedora (v25 at least) the answer is bang on.

– Mircea Ion
Mar 19 '17 at 1:59













On 16.04, the gvfs dir is empty. A 16.04 friendly update to the answer would be great :)

– TenLeftFingers
Jul 18 '17 at 18:50





On 16.04, the gvfs dir is empty. A 16.04 friendly update to the answer would be great :)

– TenLeftFingers
Jul 18 '17 at 18:50


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f518356%2fhow-to-get-terminal-access-to-iso-mounted-with-archive-mounter%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Mouse cursor on multiple screens with different PPI

Agildo Ribeiro

Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”