I have installed awesome on top of Ubuntu
10.04 and switch between Gnome and Awesome sessions (partly because I am still learning awesome and partly because I use a few apps that require Gnome desktop). Further I need to use a proxy server @ work whereas @ home I have a direct connection.
Under GNOME, I have defined 2 locations with
gnome-network-properties (hereafter, g-n-p) and switch between these as needed.
However, when I login to awesome, I am left with the settings as set in my last GNOME session. I can't invoke g-n-p because it needs
gnome-settings-daemon to be running which is of course not the case. If I need to change I need to logout and in twice (once into GNOME to switch location and then back into awesome). Since I use many apps within awesome that use system proxy settings (Synaptic, Firefox) I'd like to be able to centrally switch the proxy configuration without leaving the awesome desktop.
I understand running gnome-network-properties sets some gconf-editor keys and also updates *_proxy environment vars in
/etc/environment (and probably elsewhere also). Is there a way to achieve the same effect via a script or some replacement tool for g-n-p that doesn't use