The Ubuntu deb package available for download via the official Dropbox website requires Nautilus. But if you're using Xubuntu (Xfce), you'll probably want to use Dropbox with Thunar, the default file manager, instead of Nautilus.
So here's how to install Dropbox in Xubuntu/Xfce without Nautilus and get some basic Thunar integration (you won't get file emblems, but you'll get options to browse the file on the Dropbox website, get shareable link and view previous revisions, like in the screenshot above).
Install Dropbox and a Dropbox Thunar plugin in Xubuntu
1. Firstly, let's install Dropbox without the Nautilus dependency:
In Ubuntu, the "nautilus-dropbox" package available in the official repositories (it's not the same as the deb downloaded from the Dropbox website) doesn't depend on Nautilus, so you can install it on Xubuntu too:
sudo apt-get install nautilus-dropbox
That's it! Now simply open Dropbox from the menu (it's under Internet) and follow the setup wizard, then skip to step 2.
If you're not using Ubuntu or you don't want to use the package from the repositories, you can manually install Dropbox by using the commands below:
cd && wget -O - "http://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
64bit:
cd && wget -O - "http://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
To start the Dropbox daemon (and the setup wizard if this is the first time you're installing Dropbox), use the following command in a terminal:
~/.dropbox-dist/dropboxd
Once you're done, you'll have to add Dropbox to startup so from the menu select Settings > Session and Startup and on the Applications Autostart tab, click "Add" and use the following:
- under "Name", enter "Dropbox"
- under "Command", enter "/home/YOURUSERNAME/.dropbox-dist/dropboxd" - without the quotes; replace "YOURUSERNAME" with your username.
2. Install the Dropbox Thunar extension.
Crunchbang provides thunar-dropbox deb packages that work with Xubuntu 12.04 - download the debs below:
I've tested the above packages with Xubuntu 12.04 and they work, but they may not work with other Xubuntu versions, so if you're not using Xubuntu 12.04, grab the Dropbox Thunar extension source from HERE (you'll have to compile it). Obviously, they also work if you're using Thunar in another desktop environment, like GNOME (Unity).
Update (July 3, 2014): the Thunar Dropbox plugin can now be installed in Xubuntu 14.04 or 14.10 by using the official Xubuntu Extras PPA. Add the PPA and install the plugin by using the following commands:
sudo add-apt-repository ppa:xubuntu-dev/extras
sudo apt-get update
sudo apt-get install thunar-dropbox-plugin
Arch Linux users can install thunar-dropbox from AUR.
Note: Dropbox needs to be running for the Thunar context menu items for Dropbox to show up.