Cinnamon: Dropbox Tray Icon Missing

Created on 5 Jul 2015  Â·  22Comments  Â·  Source: linuxmint/cinnamon

After upgrading to Mint 17.2 the Dropbox Icon isn't showing up in the tray area anymore.

Most helpful comment

Confirmed: Linux Mint 17.3 x64 Cinnamon

dropbox stop && dbus-launch dropbox start

Works.

All 22 comments

481, #2846 and I think you mean not showing up on boot when Dropbox is autostarted.

Workaround: set a delay in the Startup Applications settings (was unreliable to me) or put this in a bash script that is loaded on boot:

sleep 10
dropbox start -i

As an alternative, you can:

Launch Startup Applications from the Menu:

launch

Delete the Dropbox entry and add your own command "dropbox start" with a 5 second delay:

settings

For me that wasn't working reliably: the delay was always reset to 0 (not sure if that's a related issue). No problems ever with the bash script.

I have the same problem and like tp0, the delay is always reset to zero. Here's what I to fix it.
First, I had to get the icon up. So, in a terminal session, after the $ prompt, I typed;
ps -A | grep dropbox
to verify whether Dropbox is running or not. To stop Dropbox, I typed;
dropbox stop
After I got the message that the daemon had stopped, I typed:
dropbox start -i
and that got me the icon in the Panel. I right-clicked on the icon and selected "Preferences...".
Then I unclicked the selection box "Start Dropbox on system startup" since it doesn't work anyway.

After that, I tried different options in Startup Applications and played with different delays up to 15 seconds. My final solution was to write a script to, first, run Dropbox (in case it isn't running), wait 10 seconds, stop Dropbox, wait 10 seconds and start it again. This is not elegant. You might come up with a better way but if works. Here's my script.

#!/bin/bash 
# DropStart.sh
# Dropbox custom startup script to show the icon in the Panel
dropbox start -i
sleep 10;
dropbox stop
sleep 10;
dropbox start -i

Copy and past that in a text file and save it to a folder somewhere in your Home folder. I called mine "DropStart.sh". Call it what you want but you must append ".sh" to it. I have a few scripts so I have a folder called "Scripts" to put them in.
Open a terminal session in the folder where the script is and type the following command to make the script executable;
chmod +x DropStart.sh
Finally, go to Startup Applications, open the Dropbox startup and replace the startup command with the script by clicking on "Browse..." and locating and selecting the script. I also put a 3 second start delay.

Experiment with it if you want but I find the delays are imperceptible. The icon appears and I'm happy again...until the next time something screws up. :wink:

I had no problems initially on Linux Mint 17.3, but a recent update or upgrade of some software (I'm not sure what) caused me to get this problem. Perhaps there's now a race condition that I didn't have earlier.

I tried LukMercury's approach, but these days if you get rid of the Dropbox entry in Startup Applications (whether by deleting it, turning it OFF, or command-line "dropbox autostart n"), at next boot Dropbox will just put it back! Or if you set a delay on it, at next boot Dropbox will change the delay to 0 (as tp0 mentioned).

So I ended up using Bob-El's approach, adding the new script to Startup Applications as a new entry called DropboxRestart (which is in addition to the standard Dropbox entry that I haven't been able to get rid of permanently). This is working fine for me.

Thanks, Rohan. It's still working for me also.

On 13 January 2016 at 00:59, Rohan Jayasekera [email protected]
wrote:

I had no problems initially on Linux Mint 17.3, but a recent update or
upgrade of some software (I'm not sure what) caused me to get this problem.
Perhaps there's now a race condition that I didn't have earlier.

I tried LukMercury's approach, but these days if you get rid of the
Dropbox entry in Startup Applications (whether by deleting it, turning it
OFF, or command-line "dropbox autostart n"), at next boot Dropbox will just
put it back! Or if you set a delay on it, at next boot Dropbox will change
the delay to 0 (as tp0 mentioned).

So I ended up using Bob-El's approach, adding the new script to Startup
Applications as a new entry called DropboxRestart (which is in addition to
the standard Dropbox entry that I haven't been able to get rid of
permanently). This is working fine for me.

—
Reply to this email directly or view it on GitHub
https://github.com/linuxmint/Cinnamon/issues/4396#issuecomment-171178985
.

Bob Lanctot
Ottawa, ON, Canada

"There is no better defense for absurdity than
obscurity." - John Locke

@Bob-El
I signed up just to tell you that your script worked. Thank you for taking the time to post this solution.

Confirmed: Linux Mint 17.3 x64 Cinnamon

dropbox stop && dbus-launch dropbox start

Works.

Hello I Have the same problem. Dropbox and also MegaSync applets doesn't show up on the panel. I have tried solutions mentioned above, but neither seems to work for me. I am using Mint 17.3 with Cinnamon Desktop. If some one knows the solution for this problem please share it :)

Hi WhiteAce,

Are you sure the applet "System Tray" is still on the panel? I once accidentally removed it.
If you right click on the panel and then select + Add Applets to Panel , System Tray should be marked by a green dot. There is also a Restore Settings to Default option under Troubleshoot in the same menu.

Thanks @LukMercury your solution did the trick :) But the DropBox applet is not functional it just stand as and icon with no functionality... Hopefully I can use mega fully now:)

Same here.. the icon on the panel will appear, but it's not useful other than perhaps indicating green or yellow if synced or uploading

Left click does nothing and right click just brings up the menu for the tray applet or whatever.

Cinnamon 17.3, Kernel 3.19.0-32-generic.. nvidia drivers 352.63 (recommended) AMD 1090t, GTX970, 16GB RAM

Confirmed for Arch Linux, kernel 4.6.2, Cinnamon 3.0.5.

The Dropbox icon present in system tray, but no more. Menu "About" by Dropbox icon right-click shows info about system tray.

Dear all,
thanks @LukMercury i actually did remove the system tray. I put it back on linux cinnamon sarah and all went back in order. I looked all over the net, reinstalled multiple versions, before finding this simple solution.

Simplest solution that works.

  • Disable the systemd dropbox service.
  • Setup dropbox to auto start
  • Open Startup Applications and enable Dropbox with a 3 second delay.
  • Open your terminal and run sudo chattr +i ~/.config/autostart/dropbox.desktop

This will make the autostart file read only and dropbox can't overwrite it to remove the delay. To disable auto start you will need to chattr -i the file, and then you can delete it or uncheck the startup checkbox in Dropbox.

I still have this problem (dropbox starting normally and running in background, but no tray-icon visible) in Linux Mint 18.1, all packages up to date.

Should I open a new bug? Cause this one is closed...

Bug is bug. Yes?

On 13 Aug 2017 14:46, "alexanderdd" notifications@github.com wrote:

I still have this problem (dropbox starting normally and running in
background, but no tray-icon visible) in Linux Mint 18.1, all packages up
to date.

Should I open a new bug? Cause this one is closed...

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/linuxmint/Cinnamon/issues/4396#issuecomment-322043195,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHlWX_AcPisQorYww-3alLU41Gm4tZ1Nks5sXv5AgaJpZM4FSBZa
.

Sorry I don't understand what you are saying with that. Should I open a new
bug report?

2017-08-15 22:49 GMT+02:00 OlsonB notifications@github.com:

Bug is bug. Yes?

On 13 Aug 2017 14:46, "alexanderdd" notifications@github.com wrote:

I still have this problem (dropbox starting normally and running in
background, but no tray-icon visible) in Linux Mint 18.1, all packages up
to date.

Should I open a new bug? Cause this one is closed...

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
issuecomment-322043195>,
or mute the thread
3alLU41Gm4tZ1Nks5sXv5AgaJpZM4FSBZa>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/linuxmint/Cinnamon/issues/4396#issuecomment-322584517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbRG9X2jX-58n2HmrQPJ4iexqodyCfzpks5sYgRNgaJpZM4FSBZa
.

there are two problems:

the first is that dropbox is attempting to use the DBUS based appindicators, but does not supply the correct interfaces for them, so we need to use dbus-launch first;
so we create a new Startup Applications command “DropBoxStart” with comment “dropbox tray icon workaround” and command: dbus-launch dropbox start
and we untick the existing dropbox startup applications command to allow our new one to do its work;

however, and this is the second problem, dropbox overwrites the startup applications command from two places :
~/.config/autostart/dropbox.desktop
and
usr/share/applications/Dropbox (need to edit this one as root)

(I think usr/share/applications overwrites ~/.config/autostart but I haven’t tested this)

anyway: edit the Exec line by commenting out “dropbox start -i” thus:

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

so when Dropbox does its overwriting, it is with a commented-out command, which therefore causes no problems

Is it possible to relay this information to whoever is in charge of the Dropbox servers? Also, I am constantly having to move the dropbox folder to another drive containing my original dropbox content but the "Move" command doesn't allow you to do it because the folder already exists. There must be a way for the software to recognize the pre-existing folder and use that one instead of having to rename and juggle folders. It's a real pain. Thanks for your contribution to this issue.

@AstralTim67 I recommend to use a simlink to solve your problem.
In order to do that stop Dropbox first. Delete the folder used by the Dropbox as default. Make a simlink that points to you folder instead and voila. This is what I use.

Was this page helpful?
0 / 5 - 0 ratings