You are not logged in.

#1 2018-06-16 12:13:12

matollik
Member
Registered: 2015-11-10
Posts: 30

Dropbox [SOLVED]

Dropbox was installed via bl-welcome script when I changed to Helium BL version, but the deamon doesn't start automatically each session as preferred. Tray icon is missing too. Daemon can be launched at ~/dropbox-dist folder so the problem remains with autostart. Any solutions?

Last edited by matollik (2018-06-20 11:58:37)

Offline

#2 2018-06-17 04:20:45

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,673
Website

Re: Dropbox [SOLVED]

Did the Dropbox install script offer to add an entry to your openbox autostart file, and did you accept it?
If so, there should be a line like this in ~/.config/openbox/autostart:

# Autostart the Dropbox daemon
(sleep <some number>; /home/<yourname>/bin/dropbox.py start) &

Can you launch dropbox with the command 'dropbox.py start'?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#3 2018-06-17 10:16:28

matollik
Member
Registered: 2015-11-10
Posts: 30

Re: Dropbox [SOLVED]

Thanks for the answer. There is nothing about dropbox in autostart file, and I don't know why I'd not accepted adding the line you mentioned in this file during welcome script. Secondly, as I tested 'dropbox.py start', db was launched fine. So obviously I can just add the inbox lines to autostart file. I will report if no success. Couldn't do without cloud services.

Dropbox still refuses to launch at boot of computer. At cli ie command line no problem. I copy&pasted the inbox lines with due changes of time and user name. What now?

Last edited by matollik (2018-06-17 12:16:56)

Offline

#4 2018-06-18 03:38:17

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,673
Website

Re: Dropbox [SOLVED]

You took out the < > I used to quote those bits?
If it starts from a terminal there's no reason it shouldn't start from autostart with the same command.
Was the sleep time too short? Try increasing it.
Also, have a look in ~/.xsession-errors for dropbox messages. There should be a lot.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#5 2018-06-18 15:04:50

matollik
Member
Registered: 2015-11-10
Posts: 30

Re: Dropbox [SOLVED]

Now, more sleep time doesn't helped , I increased it fr 10 to 40 (sec I guess). And yes  < and > are away. Autostart command:

# Autostart the Dropbox daemon
(sleep 40; /home/matti/bin/dropbox.py start) & 

At .xsessions-error find-tool found nothing arund dropbox. Then, if at preferences 'autostart with logon' is marked, this choice is undone next time db is launched. So mysterious! I must have done some unwise alterations with the os. I continue with my detective work. Thanks for now!

Offline

#6 2018-06-19 08:16:59

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,673
Website

Re: Dropbox [SOLVED]

Don't use that 'autostart with logon' checkbox - it will just complicate things. Since you can launch dropbox successfully from a terminal with 'dropbox.py start', there's no reason why it can't be done from ~/.config/openbox/autostart with:

(sleep 40; dropbox.py start) &

Please don't be insulted if I ask a few basic checks:
*) You're editing the right autostart file?
*) You've spelt your username right?
*) You logged out and in again to test every change?
*) You waited the full 40seconds? (That seems a bit unnecessarily long to be honest.)
*) In a terminal are there any error messages when you run

dropbox.py start

*) Is ~/.config/openbox/autostart really being executed? Or is some previous command failing to complete? (missing '&' at the end?) Try adding some other command just above the dropbox one, eg:

geany &

and make sure a geany window opens.

In fact, my best guess now is that you might have something in your autostart file which stops it from running to the end.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#7 2018-06-19 11:14:28

matollik
Member
Registered: 2015-11-10
Posts: 30

Re: Dropbox [SOLVED]

I shifted dropbox command above that of xscreensaver and db starts nice at bootup. .config/openbox/autostart's two final commands, are now :

# Autostart the Dropbox daemon
(sleep 10; dropbox.py start) & 

xscreensaver -no-splash &

Answers were: yes first four, and no, I haven't noticed any error messages at dropbox.py startup.

But another problm.I signed off db as a test, and now can't sign in (ie login).  Db does not find the default browser to connect to the server. I've installed Firefox Quantum in my home folder, however, did not know how reconfigure the net settings.

Last edited by matollik (2018-06-19 11:22:42)

Offline

#8 2018-06-19 12:19:38

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,120
Website

Re: Dropbox [SOLVED]

But another problm.I signed off db as a test, and now can't sign in (ie login).  Db does not find the default browser to connect to the server. I've installed Firefox Quantum in my home folder, however, did not know how reconfigure the net settings.

In a terminal:

sudo update-alternatives --config x-www-browser

Offline

#9 2018-06-20 10:36:41

matollik
Member
Registered: 2015-11-10
Posts: 30

Re: Dropbox [SOLVED]

But

sudo update-alternatives --config x-www-browser

returns
'update-alternatives: error: no alternatives for x-www-browser'. Also, now Dropbox at launch has error message 'Set the BROWSER environment variable to your desired browser'. So how do I change env variables in Linux?

I found

xdg-settings set default-web-browser firefox.desktop

at Debian Wiki

Problem solved. Many thanks for advice!

Last edited by matollik (2018-06-20 11:47:14)

Offline

Board footer

Powered by FluxBB