How can gnome based applications such as rhythmbox use a proxy
Some of the newer GTK3 based gnome-applications ignore/don't use environment variables when dealing with proxies.
Instead, they use values stored in gsettings / dconf
If you use dconf-editor
installed as part of the dconf-tools
package you can define the proxy in a GUI manner.
First - set the proxy mode to manual as shown
Second - set the proxy host & port. If you dont have an anonymous proxy you need to set the authentication-password and authentication-user values
If your corporate network uses https
then set the equivalent system - proxy - https tree values instead of system - proxy - http that is shown above.
Via the terminal you can use the following:
gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy.http host 'proxy.askubuntu.com'
gsettings set org.gnome.system.proxy.http port 8080
gsettings set org.gnome.system.proxy.http authentication-user '[host]\[username]'
gsettings set org.gnome.system.proxy.http authentication-password 'mypassword'
Where [host]\[username]
corresponds to your corporate network credentials e.g. mywindowsdomain\fossfreedom
If your corporate network uses https
then substitute http
with https
in the above terminal commands.
Related videos on Youtube
nilsonneto
Nickname - danger mouse, Ubuntu fanatic since v7. I am the project lead for Ubuntu Budgie and a Debian Maintainer of several packages. I work for a very large corporate technology firm as a systems developer. I am a rhythmbox plugin developer and author of the popular Rhythmbox Plugin PPA: https://launchpad.net/~fossfreedom/+archive/rhythmbox-plugins I just love GitHub for all of my opensource development: https://github.com/fossfreedom Would love to take this further into the FOSS world - just looking for the opportunity! I'm a ♦ on Ask Ubuntu Follow me on Twitter: fossfreedom
Updated on September 18, 2022Comments
-
nilsonneto over 1 year
I happen to be using xubuntu but I dont think the desktop-environment is applicable in this context.
I noticed that some gnome-based applications such as rhythmbox cannot fetch any information from the internet if the corporate network is using a proxy.
In this particular scenario - the cover-art search facility of rhythmbox cannot find coverart sought from the various providers on the internet.
I've tried the usual tricks such as setting http_proxy and running rhythmbox from the terminal, but this does not seem to work.
Any ideas?
-
ish over 11 yearsFantastic, thanks, I'll add this to the general non-Unity proxy settings answer!