Krusader: how to open .xpi file like .zip?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















In Krusader, I can enter a .zip (or .tar etc.) file as if it were a directory, and view/copy/etc. the files in the archive.



How can I tell Krusader to do the same for .xpi files (which are really just zip files with a .xpi extension)?



Currently, pressing enter or double-clicking an .xpi launches firefox, which prompts for the install of the extension. This is probably due to .local/share/applications/mimeinfo.cache containing



application/x-xpinstall=firefox.desktop;


and/or .local/share/applications/firefox.desktop containing



MimeType=... application/x-xpinstall;


(I'm using Ubuntu 16.04 and Krusader 2.4.0-beta3)










share|improve this question




















  • 1





    Just make a copy of the archive changing .xpi to .zip. That'll be easier than teaching Krusader new tricks.

    – DK Bose
    Sep 17 '17 at 10:07











  • @DK-Bose Yes, of course, but that is cumbersome.

    – mivk
    Sep 17 '17 at 10:24













  • How often do you need to do this? Dolphin can open .xpi files with Ark.

    – DK Bose
    Sep 17 '17 at 10:42


















2















In Krusader, I can enter a .zip (or .tar etc.) file as if it were a directory, and view/copy/etc. the files in the archive.



How can I tell Krusader to do the same for .xpi files (which are really just zip files with a .xpi extension)?



Currently, pressing enter or double-clicking an .xpi launches firefox, which prompts for the install of the extension. This is probably due to .local/share/applications/mimeinfo.cache containing



application/x-xpinstall=firefox.desktop;


and/or .local/share/applications/firefox.desktop containing



MimeType=... application/x-xpinstall;


(I'm using Ubuntu 16.04 and Krusader 2.4.0-beta3)










share|improve this question




















  • 1





    Just make a copy of the archive changing .xpi to .zip. That'll be easier than teaching Krusader new tricks.

    – DK Bose
    Sep 17 '17 at 10:07











  • @DK-Bose Yes, of course, but that is cumbersome.

    – mivk
    Sep 17 '17 at 10:24













  • How often do you need to do this? Dolphin can open .xpi files with Ark.

    – DK Bose
    Sep 17 '17 at 10:42














2












2








2








In Krusader, I can enter a .zip (or .tar etc.) file as if it were a directory, and view/copy/etc. the files in the archive.



How can I tell Krusader to do the same for .xpi files (which are really just zip files with a .xpi extension)?



Currently, pressing enter or double-clicking an .xpi launches firefox, which prompts for the install of the extension. This is probably due to .local/share/applications/mimeinfo.cache containing



application/x-xpinstall=firefox.desktop;


and/or .local/share/applications/firefox.desktop containing



MimeType=... application/x-xpinstall;


(I'm using Ubuntu 16.04 and Krusader 2.4.0-beta3)










share|improve this question
















In Krusader, I can enter a .zip (or .tar etc.) file as if it were a directory, and view/copy/etc. the files in the archive.



How can I tell Krusader to do the same for .xpi files (which are really just zip files with a .xpi extension)?



Currently, pressing enter or double-clicking an .xpi launches firefox, which prompts for the install of the extension. This is probably due to .local/share/applications/mimeinfo.cache containing



application/x-xpinstall=firefox.desktop;


and/or .local/share/applications/firefox.desktop containing



MimeType=... application/x-xpinstall;


(I'm using Ubuntu 16.04 and Krusader 2.4.0-beta3)







zip file-association krusader






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 18 '17 at 11:25









muru

1




1










asked Sep 17 '17 at 9:58









mivkmivk

2,4102435




2,4102435








  • 1





    Just make a copy of the archive changing .xpi to .zip. That'll be easier than teaching Krusader new tricks.

    – DK Bose
    Sep 17 '17 at 10:07











  • @DK-Bose Yes, of course, but that is cumbersome.

    – mivk
    Sep 17 '17 at 10:24













  • How often do you need to do this? Dolphin can open .xpi files with Ark.

    – DK Bose
    Sep 17 '17 at 10:42














  • 1





    Just make a copy of the archive changing .xpi to .zip. That'll be easier than teaching Krusader new tricks.

    – DK Bose
    Sep 17 '17 at 10:07











  • @DK-Bose Yes, of course, but that is cumbersome.

    – mivk
    Sep 17 '17 at 10:24













  • How often do you need to do this? Dolphin can open .xpi files with Ark.

    – DK Bose
    Sep 17 '17 at 10:42








1




1





Just make a copy of the archive changing .xpi to .zip. That'll be easier than teaching Krusader new tricks.

– DK Bose
Sep 17 '17 at 10:07





Just make a copy of the archive changing .xpi to .zip. That'll be easier than teaching Krusader new tricks.

– DK Bose
Sep 17 '17 at 10:07













@DK-Bose Yes, of course, but that is cumbersome.

– mivk
Sep 17 '17 at 10:24







@DK-Bose Yes, of course, but that is cumbersome.

– mivk
Sep 17 '17 at 10:24















How often do you need to do this? Dolphin can open .xpi files with Ark.

– DK Bose
Sep 17 '17 at 10:42





How often do you need to do this? Dolphin can open .xpi files with Ark.

– DK Bose
Sep 17 '17 at 10:42










1 Answer
1






active

oldest

votes


















1














An old question but maybe some googler will benefit from this answer. Most likely this is not possible by configuration, but a workaround is like this:



When an .xpi file (or actually any other zip with custom extension) is highlighted, copy its path (ctrl+c works for me), then go to the location bar (ctrl+l), type zip:// and paste the path. The correct url will be then:



zip:///path/to/file.xpi


After pressing enter Krusader will open the zip file and show its contents.






share|improve this answer
























  • Excellent. When copy/pasting, I already get file:/// at the start. I only need to overwrite "file" with "zip".

    – mivk
    Mar 29 at 9:11












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%2f956644%2fkrusader-how-to-open-xpi-file-like-zip%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









1














An old question but maybe some googler will benefit from this answer. Most likely this is not possible by configuration, but a workaround is like this:



When an .xpi file (or actually any other zip with custom extension) is highlighted, copy its path (ctrl+c works for me), then go to the location bar (ctrl+l), type zip:// and paste the path. The correct url will be then:



zip:///path/to/file.xpi


After pressing enter Krusader will open the zip file and show its contents.






share|improve this answer
























  • Excellent. When copy/pasting, I already get file:/// at the start. I only need to overwrite "file" with "zip".

    – mivk
    Mar 29 at 9:11
















1














An old question but maybe some googler will benefit from this answer. Most likely this is not possible by configuration, but a workaround is like this:



When an .xpi file (or actually any other zip with custom extension) is highlighted, copy its path (ctrl+c works for me), then go to the location bar (ctrl+l), type zip:// and paste the path. The correct url will be then:



zip:///path/to/file.xpi


After pressing enter Krusader will open the zip file and show its contents.






share|improve this answer
























  • Excellent. When copy/pasting, I already get file:/// at the start. I only need to overwrite "file" with "zip".

    – mivk
    Mar 29 at 9:11














1












1








1







An old question but maybe some googler will benefit from this answer. Most likely this is not possible by configuration, but a workaround is like this:



When an .xpi file (or actually any other zip with custom extension) is highlighted, copy its path (ctrl+c works for me), then go to the location bar (ctrl+l), type zip:// and paste the path. The correct url will be then:



zip:///path/to/file.xpi


After pressing enter Krusader will open the zip file and show its contents.






share|improve this answer













An old question but maybe some googler will benefit from this answer. Most likely this is not possible by configuration, but a workaround is like this:



When an .xpi file (or actually any other zip with custom extension) is highlighted, copy its path (ctrl+c works for me), then go to the location bar (ctrl+l), type zip:// and paste the path. The correct url will be then:



zip:///path/to/file.xpi


After pressing enter Krusader will open the zip file and show its contents.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 25 at 16:35









lknoplknop

362




362













  • Excellent. When copy/pasting, I already get file:/// at the start. I only need to overwrite "file" with "zip".

    – mivk
    Mar 29 at 9:11



















  • Excellent. When copy/pasting, I already get file:/// at the start. I only need to overwrite "file" with "zip".

    – mivk
    Mar 29 at 9:11

















Excellent. When copy/pasting, I already get file:/// at the start. I only need to overwrite "file" with "zip".

– mivk
Mar 29 at 9:11





Excellent. When copy/pasting, I already get file:/// at the start. I only need to overwrite "file" with "zip".

– mivk
Mar 29 at 9:11


















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%2f956644%2fkrusader-how-to-open-xpi-file-like-zip%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

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b