I’m using TOR for most of my browsing these days utilizing the pretty chill Vidalia. But sometimes teh TOR is very very slow. So I’ll want to switch it off momentarily.
This is an annoying process requiring you to head into system preferences, click on your interface, click on proxies tab… yadda yadda. Not fun.
So I start thinking, I’m a modern man of the world. I have a shiny new Apple keyboard. I can make something happen here.
My solution rocks, but requires some third party goodness that almost everyone I know runs anyway, so here goes.
You’ll need:
Tiger – really remote desktop client included in Tiger. Might have to turn on the ARD client in sharing prefs.
Growl – install growlnotify command line tool included in the extras folder on the disk image.
Quicksilver – and the terminal plugin.
Go install all that stuff. Ready? Good times.
Open up the quicksilver triggers window. Add a new one. For the first pane, paste in this text:
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setwebproxystate “Built-in Ethernet” on /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setsecurewebproxystate “Built-in Ethernet” on /usr/local/bin/growlnotify -m “Proxy is on”
and for the second pane, type in “Run command in shell”
Assign it a key and you’re golden.
Change all the “on”s to “off”s and assign another key, and you’re cooking with pig fat. Rock on mac TOR users!
As a fun addendum: Install the web search plugin. Open triggers, click new, In the first pane goes “google quick search”. Hit return. Assign a key. Google search from anywhere. Opens default browser.