-
Notifications
You must be signed in to change notification settings - Fork 26
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
Unable to use system proxy settings #36
Comments
Just to clarify, does chromium respects the settings if you configure via GNOME control center? As for opening the settings UI from chromium settings, I did a quick check and this is done on |
https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-org.freedesktop.portal.ProxyResolver there is a portal and glib knows how to use it |
Yes, but afaics the portal doesn't handle opening the system settings (maybe it should?), and chromium launches the configuration by calling the executables directly. I would be interested to know if chromium actually respects the settings configured though. |
No, it completely ignores the proxy settings. Using a locally installed chromium works out of the box, so it must be the flatpak that is ignoring the settings from the GNOME control center.
yes, when I try to open the proxy settings I get a warning message in my terminal window:
|
To be clear, there are two issues here:
The portal support mentioned above fixes the first but not the second. I'd imagine we could probably just open GNOME Settings over D-Bus to avoid adding the host execute permission, since the proxy settings are available through the search provider interface, but I'm not sure about KDE. |
Yes, for 2) I thought that we could even consider removing the button/link from the settings (and maybe replace it with just an info text), but interesting idea for launching via D-Bus, will have a think. |
Thanks for taking care of this issue. For 2), please do not remove the link, that could be confusing. Instead, simply replace the text. Currently, when I click on that link "Open your computer's proxy settings" a new tab opens with the text in my first post. I think adjusting that text would be good. Something along the lines:
|
@laolux Pushed a PR at #41 and went with a similar text as you suggested. Would be good if you could try it and let us know of any issue. |
Works great! Also changing the proxy settings works without having to restart chromium. |
I just installed the chromium flatpak and cannot change the proxy settings.
Opening "settings -> advanced -> Open your computer's proxy settings" does open a new tab which reads
I suppose some permission is missing.
Info about my system: Fedora 33, kernel 5.9.12, flatpak 1.8.3
EDIT: specifying the correct proxy on the command line when starting chromium works:
The text was updated successfully, but these errors were encountered: