Wicd Connection Scripts
I'm having a bit of a nightmare getting Wicd to run a script on connection to the school network. I have two scripts, proxy_on and proxy_off that (you guessed it) turn on/off the proxy rspectively, with the idea being that Wicd will activate the proxy settings when it connects to school network and deactivate them when it disconnects so I can use the netbook at home without fiddling around with settings every time (I'm lazy, but if the feature is there why not use it!)
Both scripts run perfectly when manually executed so I know they do what I want them to (and yes I am using "su -c" to apply settings to the current user as it is a Ubuntu distro I'm using) but I can't for the life of me figure out how to make Wicd run them and there seems to be no documentation available.
So my question is, how do I do it?