linux

Workaround to show the Dropbox icon on Xubuntu 16.04

1 min read

As a Xubuntu user, usually of the LTS versions and in particular version 16.04, and also a Dropbox user for some kinds of content, I ran into the problem of the Dropbox notification icon not showing up correctly.

After some searching I found this post on AskUbuntu.

In short, what worked in my case was to copy the dropbox.desktop launcher in the ~/.config/autostart/ folder, for example to dropbox_hack.desktop, and make the following changes, as suggested by one of the users who commented on the post mentioned above:

Create a directory called “bin” in the user’s home folder:

bash
cd ~
mkdir bin

create a script called dropbox_hack.sh with the following content:

bash
#!/bin/bash
# Stop any running Dropbox instance
dropbox stop
# Start Dropbox again
dbus-launch dropbox start -i

and then make the script executable

bash
chmod +x ~/bin/dropbox_hack.sh

Edit the Dropbox launcher we created so that the Exec= line contains the path to the file created earlier; in this example it would be /home/<username>/bin/dropbox_hack.sh

The original Dropbox launcher must be removed from startup, for example by deleting the original file called “dropbox.desktop” in “~/.config/autostart/”.

#dropbox#linux#xubuntu