I got a red circle with a crossed red line instead of Dropbox icon.
Dropbox does not recognize Elementary's desktop interface. Therefore, it does not know which icon set to use.
This script has been designed for Elementary OS and I really can recommend it: https://github.com/zant95/elementary-dropbox
Alternatively, you can try running the following commands to use Unity's icon set.
dropbox stop DROPBOX_USE_LIBAPPINDICATOR=1 XDG_CURRENT_DESKTOP=Unity \ dropbox start -i
If this works, you can edit the desktop file located in /usr/share/applications. Open the file with your favourite text editor and change the line
Exec=dropbox start -i to
Exec=DROPBOX_USE_LIBAPPINDICATOR=1 XDG_CURRENT_DESKTOP=Unity dropbox start -i
Just found out that the default dropbox script simply copies
So, instead of using the scripts suggested in the answer, simply edit
Change the exec line to:
Exec=env XDG_CURRENT_DESKTOP=Unity QT_STYLE_OVERRIDE='' dropbox start -i
And then overwrite the autostart file:
Now, logout and login again and the problem is solved, forever. ;)
env XDG_CURRENT_DESKTOP=Unity QT_STYLE_OVERRIDE='' dropbox start Is the only one that worked but has odd behaviour in Start Applications. As you can see the env line is shown, then once it successfully runs with correct icon it instantiates a new startup item which even though is disabled for some reason or other wants to run resulting in errant red icon in tray.