Dev Notes

Various Cheat Sheets and Resources by David Egan/Carawebs.

Second Dropbox on Ubuntu 14.04

Linux, Sysadmin, Ubuntu
David Egan

Create two instances of Dropbox on one machine. This will allow a separate Dropbox to be run, which can help keep managed client backups rational.

Setup Directories

mkdir .name-dropbox: This will contain Dropbox configuration settings.

mkdir name-dropbox: This will contain the Dropbox folder.

Open a terminal and enter:

HOME=$HOME/.name-dropbox /usr/bin/dropbox start -i

This will start the Dropbox setup window. Select a customised location for Dropbox by ticking “I want to choose where to put my Dropbox folder”, which should be located in /name-dropbox.

Make a Control Script

To control the second Dropbox, create a BASH script.

sudo nano ~/


HOME=$HOME/.name-dropbox /usr/bin/dropbox start

Make this script executable:

chmod +x ~/

Start the Second Dropbox on Startup

Type “Start” into Ubuntu dash, access “Startup Applications”.

Create a new application with an appropriate name.

Paste the following as a command, replace “Username”:


comments powered by Disqus