Results 1 to 7 of 7

Thread: How to delay Dropbox autostart?

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    12

    How to delay Dropbox autostart?

    I am using 6.7.1 and have setup Dropbox to autostart by checking the box in Desktop Session Settings:Automatically Started Applications. Where is the script that autostarts dropbox? How can I delay startup by 10 seconds until after internet connection is established?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I think you should try the suggestions in the article Start shell script on Network Manager successful connection .

  3. #3
    Junior Member
    Join Date
    Jun 2012
    Posts
    12
    Quote Originally Posted by klaus2008 View Post
    I think you should try the suggestions in the article Start shell script on Network Manager successful connection .
    Thank you for your quick reply. I read your suggestion in the link but admit that I am not very knowledgeable about writing scripts and not sure how to apply it to my situation. I should have been more clear in my original post. When I boot knoppix, Dropbox opens its setup procedure. I think that happens because Dropbox opens before an internet connection is established. I assume that checking the Enabled box for Dropbox in Automatically Started Applications causes a script to run which starts Dropbox. I thought that if I could add "sleep 10" to that script, it would delay Dropbox startup until internet connection was established. By delaying startup until after connection, I would not need to go through the Dropbox setup procedure each time I booted. Is this correct?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I installed Dropbox on Knoppix 7.0.5 via the apt-get command and downloaded the proprietary daemon software.
    Then I set up my Dropbox account and found my files. In the directory /home/knoppix/.config/autostart I found a new file dropbox.desktop. It manages the startup of Dropbox after the user knoppix has logged in. Besides some other information it contains a line 'Exec=dropbox start -i'. In an LXTerminal I issued
    Code:
    man dropbox
    and read about the options of the dropbox command. Afterwards I decided to edit the file /home/knoppix/.config/autostart/dropbox.desktop and to delete the option '-i' from the command string. I saved the file and rebooted the system. I was connected automatically to the Dropbox server without having been asked for the password.

    I would suggest that you search for the dropbox.desktop file in the directory and edit the command string.

    I hope that helps.

  5. #5
    Junior Member
    Join Date
    Jun 2012
    Posts
    12
    Quote Originally Posted by klaus2008 View Post
    Afterwards I decided to edit the file /home/knoppix/.config/autostart/dropbox.desktop and to delete the option '-i' from the command string. I saved the file and rebooted the system. I was connected automatically to the Dropbox server without having been asked for the password.

    I would suggest that you search for the dropbox.desktop file in the directory and edit the command string.
    I installed Dropbox a long time ago and, frankly, cannot remember how. Synaptic indicates version 1.4.0 is installed, however it is actually 1.6.11. Nautilus is not installed. I deleted '-i' as you suggested and have rebooted several times a day over a period of several days. Sometimes dropbox connects without setup procedure, sometimes it does not. Seems to be random. One difference is that the file in /autostart is named 'Dropbox', not 'dropbox.desktop'. Also, I found four /.config/autostart directories in: /home/knoppix, /KNOPPIX-DATA/home/knoppix, /UNIONFS/home/knoppix, /KNOPPIX/home/knoppix/. 'Dropbox' file is in the first three, but the /autostart directory in the last is empty. Not sure if any of that helps.

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Within '/KNOPPIX/' you can see all of the compressed filesystem "KNOPPIX" from CD/DVD.
    During flash disk install "KNOPPIX" will be copied to '/mnt-system/KNOPPIX/KNOPPIX'

    Within '/KNOPPIX-DATA/' there is all the content from your persistent memory; but do not change anything here. Write, install, edit config files and so on only in the root-folders like /home/, /etc/, /usr/ ....

    '/UNIONFS' is the end effect of '/KNOPPIX-DATA' layed over '/KNOPPIX'
    Last edited by Werner P. Schulz; 01-07-2013 at 10:42 PM.

  7. #7
    Junior Member
    Join Date
    Jun 2012
    Posts
    12
    Quote Originally Posted by Werner P. Schulz View Post
    Within '/KNOPPIX/' you can see all of the compressed filesystem "KNOPPIX" from CD/DVD.
    During flash disk install "KNOPPIX" will be copied to '/mnt-system/KNOPPIX/KNOPPIX'

    Within '/KNOPPIX-DATA/' there is all the content from your persistent memory; but do not change anything here. Write, install, edit config files and so on only in the root-folders like /home/, /etc/, /usr/ ....

    '/UNIONFS' is the end effect of '/KNOPPIX-DATA' layed over '/KNOPPIX'
    Thank you for explaining the three directories. As you state, I have only made changes to root-folders.
    I am still looking for a solution to dropbox occasionally requiring me to go through the setup procedure. After several days of loading properly, today I had to setup again. I still think it has something to do with timing between when I have internet connection vs. when dropbox starts. If internet connection is immediate, dropbox starts normally. If internet connection is delayed and dropbox starts first, dropbox requires setup after internet connection established.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


256GB Kit (8 x 32GB) PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM picture

256GB Kit (8 x 32GB) PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM

$279.92



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HP 15.6

HP 15.6" FHD Notebook AMD Ryzen 5 5500U 16GB RAM 512GB SSD Natural Silver

$339.99



Crucial CT102464BF160B 8GB SO-DIMM PC3-12800 (DDR3-1600) Laptop RAM Modules picture

Crucial CT102464BF160B 8GB SO-DIMM PC3-12800 (DDR3-1600) Laptop RAM Modules

$10.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$33.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$15.90



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$34.99



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$22.50



128GB Kit 4x 32GB PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM picture

128GB Kit 4x 32GB PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM

$139.96



SK Hynix 16GB 2Rx8 PC4-2400T-RE1-11 HMA82GR7MFR8N-UH TD AC picture

SK Hynix 16GB 2Rx8 PC4-2400T-RE1-11 HMA82GR7MFR8N-UH TD AC

$89.00