You are not logged in.
Pages: 1
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
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 )
Offline
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
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 )
Offline
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
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 )
Offline
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
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
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
Pages: 1