VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Solved: Where to put start command for Dropbox  (Read 1373 times)

carsten

  • Vectorite
  • ***
  • Posts: 137
  • I know why birds sing ...
Solved: Where to put start command for Dropbox
« on: May 10, 2009, 09:39:02 pm »

Hy to all,
I am running VL6 on my machines and have connected them with my Dropbox-Account, see https://www.getdropbox.com. There is a How-to which worked for Vector fine.
Now I want to start the client automatically on log-in, i.e. I have to run the command

~/.dropbox-dist/dropboxd &

in a terminal. I added this in the Autostart of XFCE and as this failed to work also to put this line into rc.local

Also failure.

In which config file do I have to put this command, or is the syntax maybe wrong?

Any tip appreciated. VL6 is so perfect that the good ole basic cli magic is nearly forgotten for me.

Carsten
« Last Edit: May 11, 2009, 01:02:40 pm by carsten »
Logged
Tam exacte ut oportet, non ut licet!

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Where to put start command for Dropbox
« Reply #1 on: May 10, 2009, 11:30:16 pm »

This is just a stab in the dark, but maybe you need to delay the start of dropbox till the other autostarts
have completed and your systems ready.
If you created a short script using sleep should do that much.

#!/usr/bin/bash
sleep 8
~/.dropbox-dist/dropboxd &
exit

save the script

Then call the scrip in autostart.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

carsten

  • Vectorite
  • ***
  • Posts: 137
  • I know why birds sing ...
Re: Solved: Where to put start command for Dropbox
« Reply #2 on: May 11, 2009, 01:03:55 pm »

Worked excellent.
Kudos to you and prosperity for your kin  ;D

Carsten
Logged
Tam exacte ut oportet, non ut licet!