Dropbox often missing when using i3wm

I have started using i3 as a window manager with my Ubuntu MATE 16.10 install. Despite having placed the command:
exec --no-startup-id caja-dropbox start -i
in the i3 config file, Dropbox refuses to start. “$ caja-dropbox” returns a list of commands for Dropbox in the CLI, and running “$ dropbox” tells me that nautilus-dropbox isn’t installed. Using the “-i” option makes no difference. Any ideas?

Hello. Did you try did dropbox login on the CLI and then threw exec --no-startup-id dropbox start in i3 config? It is should work.

Thanks for the reply. Unfortunately:
$ dropbox login
The program ‘dropbox’ is currently not installed. You can install it by typing:
sudo apt install nautilus-dropbox

Sorry to hear that....maybe it helps...

Thanks. That is what I have been using from the start… The weird thing is that Dropbox is suddenly working now, and I haven’t done anything. Oh well, as long as it is working… Many thanks for the responses.