You are not logged in.

#1 2017-09-08 10:09:49

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

[SOLVED] Dropbox always autostarting

I've installed dropbox from the AUR along with dropbox-cli.

I would like to prevent dropbox autostarting when I log to xfce, but when I start dropbox manually it always adds itself to the autostart options under "Session and Startup".
I've removed it from that list, removed the autostart option on dropbox itself, used "dropbox-cli autostart n", searched the forums but I still can't find a solution.

Any ideas?
Thanks

Last edited by unnilquadium (2017-09-12 19:12:16)

Offline

#2 2017-09-08 16:01:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED] Dropbox always autostarting

Look in :
/etc/xdg/autostart
/.config/autostart/

For dropbox.desktop.  If found, there's your problem.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2017-09-08 16:43:12

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Dropbox always autostarting

Which should work, unless Dropbox is refusing to respect its own option to not keep recreating that file... which the OP implies is happening. sad


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2017-09-08 16:51:20

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED] Dropbox always autostarting

It has been a while since I have used Xfce4, but I was of the impression that it kept its own list in addition to the global ones.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2017-09-08 17:17:56

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Dropbox always autostarting

dropbox also has a systemd service that could be starting it..

Offline

#6 2017-09-09 07:38:36

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

Re: [SOLVED] Dropbox always autostarting

The dropbox.desktop file gets created in ~/.config/autostart as soon as I start dropbox.
If I remove dropbox from "Session and Startup autostart" under Xfce4 settings the file disappears, but when I start dropbox again the file gets created once more.

This must be some sort of problem with the application itself, I believe. Or can I try something else?

Thank you once again

EDIT: The dropbox@.service systemd service is disabled btw

Last edited by unnilquadium (2017-09-09 07:39:48)

Offline

#7 2017-09-09 08:50:03

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Dropbox always autostarting

There's also a systemd user service.

$ systemctl --user status dropbox

to make sure, although it shouldn't create the file in ~/.config/autostart/

I don't have this issue with gnome, so I suppose it's somehow related to xfce4.

As a ugly workaround you could create a empty .desktop file to the autostart directory, and prevent it from being overwritten with chattr +i.

Offline

#8 2017-09-11 08:08:47

phw
Member
Registered: 2013-05-27
Posts: 318

Re: [SOLVED] Dropbox always autostarting

Go into dropbox settings and disable "start dropbox on system start". this should prevent dropbox from recreating the autostart .desktop file.

Offline

#9 2017-09-11 14:08:38

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

Re: [SOLVED] Dropbox always autostarting

phw wrote:

Go into dropbox settings and disable "start dropbox on system start". this should prevent dropbox from recreating the autostart .desktop file.

That doesn't work. Or going into Application autostart in Xfce settings and disabling it. It's always creating the autostart file... Quite annoying...

I'll try ooo's "ugly" sugestion to create an empty .desktop file and prevent it from being overwritten.

Offline

#10 2017-09-12 19:16:48

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

Re: [SOLVED] Dropbox always autostarting

ooo's solution worked!!

I've created an empty dropbox.desktop file and changed its attributes with chattr +i.
That's the only way I could find to prevent the dropbox.desktop file from being created in ~/config/autostart everytime I start dropbox.

I think this is a bug... Is there anyway to report it? (Total noob here)

Thank you!

Offline

Board footer

Powered by FluxBB