LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2015, 12:38 AM   #1
rjmartinator
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Rep: Reputation: Disabled
Dropbox not running at startup


I'm running Debian wheezy. I have Dropbox installed, but it won't run on startup. I downloaded their CLI script dropbox.py, and if I use

Code:
python dropbox.py start
then it starts. I'm trying to use that to get it to run at startup. I have tried editing .profile, and crontab, but it doesn't work and I don't know what else to try. Is it a permissions issue? (I tried making dropbox.py executable and adding python to visudo) or do I need to have some other command to run it at startup?

I appreciate the help!
 
Old 02-19-2015, 09:46 AM   #2
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
I use Dropbox on Debian but i don't use that script.

Install from here (as you have already done obviously) https://www.dropbox.com/install?os=lnx

$ aptitude show dropbox
Package: dropbox
New: yes
State: installed
Automatically installed: no
Version: 1.6.2
[...]

It reports version 1.6.2, but technically i've updated the binary from here: http://linux.softpedia.com/get/Commu...ox-41209.shtml

I run XFCE, and "Dropbox" shows in my menu system. I've created an "Application Autostart" in Settings Manager, and all is well and shows the icon on my panel.
 
Old 02-19-2015, 10:17 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18 MATE, antiX-16.1, MX-16
Posts: 1,978
Blog Entries: 8

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
The first command removes the existing Dropbox application and the second one removes files from your existing Dropbox folder.

Code:
sudo apt-get remove dropbox; rm -rvf ~/.dropbox ~/.dropbox-dist

rm -rv ~/Dropbox

Go to this page and download the 32/64 bit .deb file to your Desktop and then install it with gdebi.

You may need to install gdebi if it is not there by default, I cannot remember.

https://www.dropbox.com/install?os=lnx
 
1 members found this post helpful.
Old 02-19-2015, 10:35 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,362

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
Just put your command in cron with the @reboot directive:
Code:
@reboot /usr/bin/python $HOME/dropbox.py start
Changing the path to python and dropbox.py accordingly.
 
Old 02-23-2015, 12:46 AM   #5
rjmartinator
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
I tried all three - beachboy2's suggestion worked, apparently gdebi made the difference. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Dropbox and teamviewer on Startup iftikhar.tutul Linux - Server 5 02-11-2014 02:54 PM
Bluetooth Not Running at Startup swamprat Linux - Newbie 3 01-22-2014 12:39 PM
Issues running dropbox on slackware currernt. kernel-P4N1C Slackware 2 04-07-2012 01:25 PM
Running something on startup YevgenyEfter Linux - Software 10 06-14-2006 04:42 PM
Running scripts on startup darrenjhopkins Linux - Newbie 7 12-09-2004 05:51 AM


All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration