sudo apt-get install privoxy
If you're not running GNOME with a nice system-wide proxy configuration utility, you can set the proxy in
/etc/environment. This also works in Xfce. Add the following to the file:
Restart your system and Chrome should be using the proxy. You can also check privoxy's settings by visiting http://config.privoxy.org/.