Xubuntu Dropbox icon fail
A more recent workaround that works for more Linux operating systems than the DBUS_SESSION one:
dropbox stop && dbus-launch dropbox start
EDIT: To make this permanent see answer by @juankvillegas below.
The answer given by @Juan M. Gonzalez is the best one, but you have to run that command every time you restart your PC.
A permanent fix would be:
- Run the proposed command once to make the Dropbox icon appear in your notification area:
dropbox stop && dbus-launch dropbox start
- Open Dropbox preferences (click on the Dropbox icon in the notification area).
- Disable "Start Dropbox on system startup" and apply your changes.
- Go to XFCE settings > Session and Startup > Application Autostart.
- Search for an existing Dropbox item and confirm it is disabled.
- Add a new item with this configuration (do not edit the existing Dropbox item because it is recreated in each reboot):
- Name: Dropbox
- Command:
dbus-launch dropbox start -i
- Be sure that the new application is enabled in the list.
This instruction only work for Xubuntu, UbuntuStudio 16.04 (Not working in 17.04)
In you terminal run
sudo gedit /usr/bin/dropbox
Create a new line after import os and add the following:
os.environ['DBUS_SESSION_BUS_ADDRESS'] = ""
Save and rebot
Here a Gif I made:
And, if someday Dropbox update and not working more, repeat this tutorial
Reference:
Dropbox icon is not working Xubuntu 14.04 LTS 64
This applies to UbuntuStudio 15.10, 16.04 and Xubuntu (both based on XFCE)