Dropbox on Cinnamon 2.6/Mint 17.2

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
DrOKtopus

Dropbox on Cinnamon 2.6/Mint 17.2

Post by DrOKtopus »

Hi all,

I've just updated to Mint 17.2 (Cinnamon) and noticed an issue with the Dropbox integration - namely that the Dropbox applet icon doesn't appear when you log in. Someone else mentioned that this might be due to it starting up too quickly to appear and this does indeed appear to be the case.

I tried setting a delay in the startup applications but this seems to get reset between logins. Interestingly, both disabling and deleting the Dropbox item is also reverted on the next login!

So I wrote my own shell script to start it with a sleep in it that looks like this:

Code: Select all

#!/bin/bash
# Restart dropbox to make icon work.

sleep 10

dropbox stop

dropbox start -i
And added a startup item to start this script and this is working as a temporary workaround, but obviously fixing the Dropbox/Cinnamon integration would be better!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Jlynton
Level 1
Level 1
Posts: 17
Joined: Sat Feb 04, 2012 6:51 am

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by Jlynton »

I also updated to Mint 17.2 (Cinnamon), and had the same dropbox isssue. also I find that I can not open 'Startup Applications'!
SallyK
Level 4
Level 4
Posts: 237
Joined: Fri Oct 02, 2009 5:22 pm

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by SallyK »

Sorry, no solutions, but someone else with the same problem.
User avatar
a34fm
Level 1
Level 1
Posts: 15
Joined: Mon Jan 30, 2012 7:55 am
Location: Athens, Greece

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by a34fm »

Hi there!
I also have the same problem and additionally with GoogleCrome.
I've added the delay values in ~/.config/autostart/*.desktop files thinking i'll trick the cinnamon (e.g. X-GNOME-Autostart-Delay=50)
but they have been reset after a new start of the system.
I don't know if there is a similar command for cinnamon :D
sawdoctor

Post by sawdoctor »

I'm glad its not just me having the issue. When I launch dropbox through terminal and select status i get the error "missing job name" I don't know if that will help with fixing it

Sent from my SM-G925F using Tapatalk
gordonthegopher

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by gordonthegopher »

I'm getting this also, and I can't change the delay. Interestingly, my girlfriend is also running 17.2 on the same kernel and doesn't have the problem. She is on a HDD and I am on an SSD so boot times are slightly different. "dropbox status" in terminal brings up "Up to date" and if I issue the "dropbox stop" and then "dropbox start -i" commands the icon appears, but only until a reboot. Bit of an annoyance. Does it need fixing by Cinnamon or Dropbox?

EDIT - Applied latest updates from Update Manager, rebooted, and it seems to be resolved. Anyone else confirm?
sawdoctor

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by sawdoctor »

gordonthegopher wrote:I'm getting this also, and I can't change the delay. Interestingly, my girlfriend is also running 17.2 on the same kernel and doesn't have the problem. She is on a HDD and I am on an SSD so boot times are slightly different. "dropbox status" in terminal brings up "Up to date" and if I issue the "dropbox stop" and then "dropbox start -i" commands the icon appears, but only until a reboot. Bit of an annoyance. Does it need fixing by Cinnamon or Dropbox?

EDIT - Applied latest updates from Update Manager, rebooted, and it seems to be resolved. Anyone else confirm?
Still the same for me. Dropbox refuses to launch and still the same message in terminal "missing job name ". Really hope someone can help as I use dropbox for all my invoices

Sent from my SM-G925F using Tapatalk
DrOKtopus

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by DrOKtopus »

Hi all, an update.

I came up with a better solution than my shell script.

I guessed (and testing bore it out) that the Dropbox entry in Startup applications is being created by the Dropbox tool itself when run, and that's why the timer is being reset (so you can't set a delay).

So the solution is to take control of this away from the Dropbox tool. First unset "Start Dropbox on system startup" in the Dropbox prefs. The Dropbox entry will now disappear from Startup items. You can then create a new startup item yourself (that runs "dropbox start -i"), set the delay to 5 seconds (seems to be enough for me) and then it will stick because it's not being updated by the Dropbox client every time you run it.

Cheers,
DrOKtopus
SallyK
Level 4
Level 4
Posts: 237
Joined: Fri Oct 02, 2009 5:22 pm

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by SallyK »

DrOKtopus wrote:Hi all, an update.

I came up with a better solution than my shell script.

I guessed (and testing bore it out) that the Dropbox entry in Startup applications is being created by the Dropbox tool itself when run, and that's why the timer is being reset (so you can't set a delay).

So the solution is to take control of this away from the Dropbox tool. First unset "Start Dropbox on system startup" in the Dropbox prefs. The Dropbox entry will now disappear from Startup items. You can then create a new startup item yourself (that runs "dropbox start -i"), set the delay to 5 seconds (seems to be enough for me) and then it will stick because it's not being updated by the Dropbox client every time you run it.

Cheers,
DrOKtopus
Thank you very much, that seems to solve the problem. :-)
twomby
Level 1
Level 1
Posts: 7
Joined: Sun Mar 16, 2014 4:01 pm

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by twomby »

Thanks DrOKtopus! This fixed my issue as well! Much appreciated!
hughparker1
Level 2
Level 2
Posts: 87
Joined: Wed Oct 01, 2014 4:18 pm

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by hughparker1 »

Thanks "DrOKtopus" for a really good solution. I had same problem but your solution fixed it. Dropbox should be using this solution to resolve this issue.

Best Regards,

Hugh
Logan_Wolverine

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by Logan_Wolverine »

Thanks Man It helps. :D
hughparker1
Level 2
Level 2
Posts: 87
Joined: Wed Oct 01, 2014 4:18 pm

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by hughparker1 »

Thanks DrOKtopus! your solution is simple but very effective, I had to set my delay to 8 seconds but works perfectly.

Cheers,

Hugh
Luismanu

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by Luismanu »

Thanks you DrOKtopus.
I was trying to solve that error by myself but I did not think that Dropbox tool creates an entry in Startup applications. :)
Lghtning4u

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by Lghtning4u »

Your the man!

Thanks DrOKtopus
Grundkurs

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by Grundkurs »

@DrOKtopus
Thanks, your solution solved the problem for me.
User avatar
zquestz
Level 1
Level 1
Posts: 1
Joined: Fri Nov 11, 2016 6:43 pm
Contact:

Re: Dropbox on Cinnamon 2.6/Mint 17.2

Post by zquestz »

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.
Locked

Return to “Cinnamon”