4

I installed the latest version of Dropbox from the official site but when it starts the icon on the indicator appears corrupted:

enter image description here

I don't have any way to set preferences or watch progress, however it seems that Dropbox is correctly syncing my documents.
zI already tried a lot of other solutions but none of them worked, my OS is Xubuntu 15.10.

Thanks!

EDIT 02/15/2016

I already tried stopping and restarting the service but it didn't help.
My question is not a duplicate of this for the following reasons:

  • I am using Xubuntu, not Ubuntu
  • In Xubuntu the icon is in the "Indicator Plugin" panel item and I can't edit its properties directly
  • The answer seems quite old (more than one year ago)

2 Answers2

4

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.

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