mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3205] Cannot open downloaded file in external program from Firefox #2005
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ericschdt on GitHub (Feb 5, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3205
When I download a PDF for example and try to open it from the download list in Firefox (Ctrl+Shit+Y), it says that the link has to be opened by an app and that's it. It won't open Okular for example.
I already added
to
firefox.profile, so at least I already see a PDF icon in the download list.System
FF 72.0.2
firejail 0.9.62
Archlinux
@ghost commented on GitHub (Feb 6, 2020):
If you have configured Firefox to use a specific application to read PDF files instead of using the built-in PDF viewer this is expected behavior. Adding 'private-bin okular' to firefox.profile is not enough to get the functionality you're after IMHO. In fact, I'm quite surprised that Firefox is even starting at all by doing so. The private-bin option isn't used in any of our default firefox-related profiles. Hence adding it would limit the set of acessable binaries to just 'okular'.
We have this in /etc/firejail/firefox-common.profile:
Do you have a ~/.config/firejail/firefox-common.local file referencing 'include firefox-common-addons.inc'?
@ericschdt commented on GitHub (Feb 7, 2020):
This is the full line I had in firefox.profile
Nope, not yet, but I am going to test it with the firefox-common-addons.inc :)
@ghost commented on GitHub (Feb 7, 2020):
That makes more sense 👍.
I think you can solve this by including firefox-common-addons.inc. Feel free to close at your discretion. Good luck.
@ericschdt commented on GitHub (Feb 9, 2020):
I tried it but with no luck. What I can do though is to click on the button to manually pick the app to open a PDF, where I can navigate to /usr/local/bin/okular, but that's not the way it should work.
@matu3ba commented on GitHub (Feb 27, 2020):
@ericschdt Changing the default behavior what firefox does is not possible?
@rusty-snake label Q:FAQ "how do I run application X from application Y"
@ericschdt commented on GitHub (Mar 5, 2020):
IIRC I could solve it adding
okularto private-bin, but FireFox kept asking me which program I wanted to use to open a PDF, though luckily okular was already in the list -- just its icon was missing.Nonetheless, for the moment I disabled FireJail as it's way too time consuming for me to configure it correctly and to adjust all kind of profiles in the moment.