Skip to content

Toggle Dropbox proxy

i-c edited this page Nov 4, 2011 · 2 revisions

These simple scripts allow you to change the proxy setting on Dropbox between off, auto and manual. They are useful if you only need to setup one web proxy and then either enable or disable it.

The Scripts

Set Dropbox proxy to off

!/bin/bash

# this script will change Dropbox's proxy mode setting to off

echo "UPDATE config SET value = 0 WHERE key = 'proxy_mode';" | sqlite3 $HOME/.dropbox/config.db

Set Dropbox proxy to automatic

#!/bin/bash

# this script will change Dropbox's proxy mode setting "auto"

echo "UPDATE config SET value = 1 WHERE key = 'proxy_mode';" | sqlite3 $HOME/.dropbox/config.db

Set Dropbox proxy to manual

#!/bin/bash

# this script will change Dropbox's proxy mode setting to manual

echo "UPDATE config SET value = 2 WHERE key = 'proxy_mode';" | sqlite3 $HOME/.dropbox/config.db

How to Use

Save scripts shown above to individual files and save it in a place that is convenient. Then create actions in ControlPlane calling the appropriate script for how you want Dropbox's proxy mode to be set.