You are not logged in.
Hello, people,
I'd like to have seperate proxy-settings for different network-connections. But the traditional way to change the proxy-variables by exporting do not work.
I'm using Gnome Shell with NetworkManager (and NM-dispatcher).
Changing proxy-settings only works with Gnome-Settings. Do I have to set up dconf-settings by using a dispatcher-script? That's what I didn't try, yet – and what I don't know how to do so.
Thanks for any helpful answer!
Offline
--- UPDATE ---
Using gsettings seems to be in general the answer. But I have a problem with generating the bash-script for NetworkManager dispatcher:
Since gsettings/dconf is user-bounded one must not use gsettings as root. But there's a problem when I want to set up the IP-addresses the proxy shall not use:
su [user] -c "gsettings set org.gnome.system.proxy ignore-hosts \127\.0\.0\.1"
This or any similar code throws out following error:
invalid character in number:
127.0.0.1
^
Need bash-scripting-help, please!
Offline