Startup – How to Run Dropbox at Startup Using Command-Line

command linedropboxstartup

Please excuse a simple question from a new Linux user.
Running Ubuntu 12.04 on a Dell Pentium(R) Dual-Core CPU E5800 @ 3.20GHz × 2.

I installed Dropbox OK with the command:

   cd ~ && wget -O - "" | tar xzf -

as suggested by the Dropbox web site, which worked fine.

Then the Dropbox daemon was run with the command:


Again this worked well, Dropbox runs in the background giving easy access to my cloud data.

The Problem

How can I automatically run the dropbox daemon when the session is restarted? Current workaround is to open a terminal and enter the command:


Many thanks

Best Answer

I had exactly the same problem and solve it by installing dropbox following these instructions, but substituting nautilus-dropbox by dropbox. That is, I installed dropbox by executing these commands:

sudo apt-key adv --keyserver --recv-keys 5044912E

sudo add-apt-repository "deb $(lsb_release -sc) main"

sudo apt-get update

sudo apt-get install dropbox