-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
newsboat unable to launch default browser #3894
Comments
Maybe that helps: #3312. |
|
It's a bit odd that private-etc needs
After doing so you can run |
Yes, I already have it set up. But I think that the default browser should be at least supported in the official repos, this would set an example on changing the browser |
Now I understand! I am not familiar with newsboat so I installed it. Only after looking inside its config it became clear that when a BROWSER env var isn't set it falls back to lynx. So please do make a PR. |
solved #3895 |
I am having a similar problem to this one. My default browser is Brave and have I firejail desktop configuration running. I would like to open links in a sandboxed Brave session, but I can only do this if running Newsboat outside of Firejail. I am able to launch a sandboxed version of Lynx from inside a sandboxed Newsboat by adding 'browser "/usr/local/bin/lynx %u"' to the config file or through the command line with 'set browser...'. The same strategy does not work with Brave. |
Try to add this to your newsboat.local:
|
@rusty-snake You mean ~/.newsboat or the ~/.local directory? I'm unsure where to find or create it? |
|
It works now! Would I just add similar lines for any application-related directories in ~ if I wanted to use other browsers at some point? |
You mean that you switch from brave to e.g. vivaldi, then yes. Just replace the brave specific Be warned, though, that this deactivates the half sandbox. If your system supports unprivileged userns you should add
|
… also uncomment chromium-common-hardened.inc Much more secure wayAllow only the permissions required to run Use the
EDIT: Added |
Write clear, concise and in textual form.
When having firejail enabled (running
firecfg
), opening any link using the o key or a link number key, would just fail with:Unable to spawn browser
. I don't think the default cfg has support for lynx.Bug and expected behavior
Open feed, try opening browser
The browser to open.
No profile and disabling firejail
firejail --noprofile /path/to/program
in a terminal?It worked.
which <program>
orfirejail --list
while the sandbox is running)?No such file or directory
Reproduce
Steps to reproduce the behavior:
Environment
Checklist
https://github.com/netblue30/firejail/issues/1139
)--profile=PROFILENAME
is used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM
to get english error-messages.browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.debug output
https://pastebin.com/ZLDusshM
The text was updated successfully, but these errors were encountered: