Closed ghost closed 1 year ago
Well, I will test tonight on my home Linux machine, this might be well related to flatpak sandboxing things.
time=" 51.898" type="debug" -> network: We are trying to open URL 'http://feeds.hanselman.com/~/672999470/0/scotthanselman~Lets-upgrade-my-main-site-and-podcast-to-NET-LTS'.
time=" 51.898" type="debug" -> network: Arguments for external browser: '"http://feeds.hanselman.com/~/672999470/0/scotthanselman~Lets-upgrade-my-main-site-and-podcast-to-NET-LTS"'.
time=" 51.925" type="debug" -> network: External web browser call failed.
As far as I know, the only way to make this work would be by weakening the Flatpak sandbox by adding the --talk-name=org.freedesktop.Flatpak
permission, which would allow Flatpak apps to launch programs outside of their own sandbox (i.e. programs from the host itself).
That's because, by design, Flatpak denies access to /usr/bin
and a bunch of other directories on the host.
If you still want to do this (which is something I personally don't recommend), first add the required permission to RSS Guard:
flatpak --user override --talk-name=org.freedesktop.Flatpak io.github.martinrotter.rssguard
Restart RSS Guard, go to Settings > Network & web & tools > External web browser, and match these settings (type the first path manually, don't use the Browse button):
You can replace firefox
in the Parameters field by whatever browser you want.
If you want to undo this (i.e. use the default, safer sandbox permissions), run:
flatpak --user override --no-talk-name=org.freedesktop.Flatpak io.github.martinrotter.rssguard
And then restart RSS Guard.
Well, I guess this is now solved. :) Thanks @guihkx.
@guihkx Thank you so much! I just tried it and it works fine with tor browser too. I'll have to see if I can make it a little less insecure, but for now this is great :-)
Sorry for the trouble to you both.
Just tried it. It works. Thanks! I prefer RSSGuard to using Thunderbird's RSS, so this sends me back to RSSGuard.
Brief description of the issue
Greetings! I'm trying to replace the external browser and they don't seem to work at all, I guess it must be a flatpak thing. It also doesn't work with RW permission for the host.
I have tried both on my system and on a clean virtual machine (both linux mint), as well as firefox in .deb and tor browser official/portable.
Using the default system browser works fine, but my goal is to use arguments as otherwise tor is not able to open with external links.
How to reproduce the bug?
-Add a custom browser in the configuration. For example /usr/bin/firefox -Open any link with the external browser
What was the expected result?
Opening with the external browser
What actually happened?
Error indicating that the browser cannot be launched with the selected url. Or nothing at all, in some tests.
Debug log
I don't think it will do any good, but here goes. It's with a new clean install, just creating a local account, changing the external browser to /usr/bin/firefox and trying to open any source.
Operating system and version