Dropbox icon corrupted on Xubuntu 15.10 [duplicate]

Solution 1:

As suggested by kk78 in this post, there is now an even better answer that doesn't have the sudo side effects:

dropbox stop && DBUS_SESSION_BUS_ADDRESS="" dropbox start

So I copied* my desktop entry:

cp ~/.config/autostart/dropbox.desktop ~/.config/autostart/start_dropbox.desktop

Changed the entry like this (please notice the env word):

[Desktop Entry]
Name=Dropbox
GenericName=File Synchronizer
Comment=Sync your files across computers and to the web
#Exec=dropbox start -i
Exec=env DBUS_SESSION_BUS_ADDRESS="" dropbox start -i
Terminal=false
Type=Application
Icon=dropbox
Categories=Network;FileTransfer;
StartupNotify=false

And disabled Dropbox's autostart:

dropbox autostart n

* you cannot just edit it because Dropbox replaces the file every time you log in.

Solution 2:

Thanks to Juan M. Gonzalez, as written in this post, a temporary but working solution is the following:

dropbox stop
sudo dropbox start # please notice the sudo!

EDIT 02/16/2016

Please note that this solution is still working (and I'm still using it) but it has side effects with file permissions. Please look into this thread for a list of proposed solutions:

Dropbox icon is not working Xubuntu 14.04 LTS 64