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!


Similar Content



Automatically Starting A Python Script On Startup After Reboot...

I am running a headless Linux 17 media/NAS server. I have setup and tested the plexconnect script and it works. My only issue is that I can't figure out how to get the script to automatically run on startup. I tried using the GUI, but it doesn't seem to work.

To get it to work, I have to open terminal and navigate to the directory:

/usr/local/lib/PlexConnect/

Then run: sudo ./PlexConnect.py

The window has to remain open in order to keep running (which isn't an issue as it's headless). I'd just like to not have to login and start it each time the power goes out, or is rebooted.

I tried editing the crontab file and adding the following variations with no luck:
@reboot python /usr/local/lib/PlexConnect/PlexConnect.py
@reboot /usr/local/lib/PlexConnect/PlexConnect.py

Neither has worked. Does anyone know what I'm doing wrong?

Thanks!

Centos 7 Startup Script

I have a Centos 7 server which setup by previous system administrator , when this server startup , it will start some service eg. apache , mysql etc, but I could not find the startup script at /etc/rc.local /etc/rc.d/rc.local or /etc/rc.d/init.d , would advise which path will be the startup script keep ?

Thanks

Need A Light-weight Distro For Laptop Only Used As A Word Processor.

I compose on a Dell laptop model #Latitude D505. I have Xubuntu 12.04 (it won't upgrade) on it. Here are the Dell's specs:

Quote:
Dell Inspiron 8600 (Pentium M 710 1.4GHz, 1GB RAM, 40GB HDD)
And it has 20 GB free space. I guess on paper it should run the Xubuntu easily but it is deadly slow. Most of the things I do in the terminal don't complete (I tried to install Dropbox--no luck.). Sometimes I can't even open the Ubuntu Software Center, let alone install stuff from there.

I have LibreOffice 4.2 something on there and that is all I need. Like I was saying Dropbox would be nice though.

So I stared checking out lighter distros. (I was told Xubuntu was one of the lightest--btw I have two desktops with Xubuntu on them as well--distros out there but was shocked when I started investigating.) (see screenshot)

So as long as I can install a relatively recent version of LibreOffice (and like I said Dropbox would be nice) I will be happy.

To reiterate: I'm just using the laptop as a word processor. Yes, I would have to be online (and can be) to use Dropbox but Dropbox is not essential.

Btw. The libreoffice on there now works well (once it gets going) as a word proccesor, but with all those distros that are so much smaller I was thinking that I could even improve on the word processor's speed.

Thanks.

Debian How To Get A Clean Uninstall Of Dropbox.

Thanks for any help

sudo apt-get remove dropbox give me this

sudo apt-get remove dropbox
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
cliffm@debian:~$ sudo dpkg --configure -a
Setting up nautilus-dropbox (1.4.0-3) ...

Dropbox is the easiest way to share and store your files online. Want to learn more? Head to http://www.dropbox.com/

Downloading Dropbox... 100

the terminal is not released.
How else can I get a clean uninstall of dropbox?

cliffm@debian:~$ sudo apt-get remove dropbox
[sudo] password for cliffm:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
cliffm@debian:~$ top

top - 10:51:47 up 53 min, 3 users, load average: 1.06, 1.21, 1.25
Tasks: 149 total, 2 running, 147 sleeping, 0 stopped, 0 zombie
%Cpu(s): 46.5 us, 4.2 sy, 0.0 ni, 49.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 1930056 total, 1431412 used, 498644 free, 41064 buffers
KiB Swap: 3929084 total, 0 used, 3929084 free, 593656 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4142 root 20 0 115m 73m 4032 R 100.0 3.9 39:44.15 dropbox
644 root 20 0 0 0 0 S 0.3 0.0 0:01.02 usb-storage
4076 cliffm 20 0 376m 17m 10m S 0.3 0.9 0:03.69 gnome-terminal
4145 cliffm 20 0 1654m 478m 47m S 0.3 25.4 4:12.97 firefox
4464 cliffm 20 0 23172 1600 1140 R 0.3 0.1 0:00.04 top
1 root 20 0 10648 800 668 S 0.0 0.0 0:00.67 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.15 ksoftirqd/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.43 kworker/0:0
6 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/0
7 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
8 root rt 0 0 0 0 S 0.0 0.0 0:00.04 migration/1
9 root 20 0 0 0 0 S 0.0 0.0 0:00.59 kworker/1:0
10 root 20 0 0 0 0 S 0.0 0.0 0:00.28 ksoftirqd/1
12 root rt 0 0 0 0 S 0.0 0.0 0:00.01 watchdog/1
13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset
14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
cliffm@debian:~$ kill 4142
bash: kill: (4142) - Operation not permitted
cliffm@debian:~$ sudo kill 4142
cliffm@debian:~$ top

top - 10:52:53 up 54 min, 3 users, load average: 0.87, 1.13, 1.22
Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.0 us, 0.3 sy, 0.0 ni, 98.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 1930056 total, 1356856 used, 573200 free, 41172 buffers
KiB Swap: 3929084 total, 0 used, 3929084 free, 593712 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3733 cliffm 20 0 947m 100m 41m S 0.7 5.3 0:39.55 gnome-shell
4076 cliffm 20 0 376m 17m 10m S 0.7 0.9 0:04.02 gnome-terminal
4145 cliffm 20 0 1655m 481m 47m S 0.7 25.5 4:13.72 firefox
4468 cliffm 20 0 23172 1596 1144 R 0.7 0.1 0:00.04 top
644 root 20 0 0 0 0 S 0.3 0.0 0:01.04 usb-storage
2842 root 20 0 132m 18m 6368 S 0.3 1.0 0:36.38 Xorg
1 root 20 0 10648 800 668 S 0.0 0.0 0:00.67 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.15 ksoftirqd/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.44 kworker/0:0
6 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/0
7 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
8 root rt 0 0 0 0 S 0.0 0.0 0:00.04 migration/1
9 root 20 0 0 0 0 S 0.0 0.0 0:00.59 kworker/1:0
10 root 20 0 0 0 0 S 0.0 0.0 0:00.29 ksoftirqd/1
12 root rt 0 0 0 0 S 0.0 0.0 0:00.01 watchdog/1
13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset
cliffm@debian:~$

Iceweasel Boot Issue

Ive tried asking on various forums - rasppi etc.

I am running a startup script to start iceweasel on bootup. it opens 2 tabs with pages for internal sites.
Only issue with the device is that it wont be rebooted correctly it has an on and off usb power supply that will kill the power.
I am wondering if there is anything that i can do or put in a startup location or a crontab that on any bootup after power cutting out that it stops the process and then restarts the process/webpages.

Any help would be appreciated

Python FTP Send Command

hello Experts!
need some help here with python FTP. so what i'm trying to do is, from a linux machine, ill be sending over a python script to a windows machine via python ftp. that works fine with no problem. now, i want to execute that python script i sent remotely. im having trouble with that. here's my code to just execute the script:

p.s : please dont suggest other options such as python paramiko due to many network security reasons

Code:
ftp = ftplib.FTP("windows machine name")
ftp.login("username", "password")
ftp.cwd("where\\python\\script\\is kept\\")

ftp.sendcmd("python myscript.py")

but looks like it doesn't recognize that command. how do i accomplish this please?

?? How To Auto Mount Logical Volume Before Transmission-daemon Starts At Start Up

I have been using an old computer to download my torrents and this has been my usual routine:

1. Press the power button.
2. Connect to the computer through Putty
3. Log in
4. Gain su privileges

Startup Commands:
Code:
/etc/init.d/transmission-daemon stop
apt-get update
mount -t ext4 /dev/vgTransmission/lvTransmission /mnt/transmissionVault
/etc/init.d/transmission-daemon start

Shutdown Commands:
Code:
/etc/init.d/transmission-daemon stop
umount /dev/vgTransmission/lvTransmission
shutdown -h now

I was wondering if there is a way to configure a computer to automatically mount a logical volume “before” the transmission-daemon starts at boot up (note my first Startup Command).

I think the instructions here are related to what I want to do, but I want to get some advice before I attempt to do anything dangerous:
http://tille.garrels.be/training/tld...#sect_04_02_04


My perfect scenario would be:

Startup Routine:
1. Send WakeOnLan magic packet to computer to turn it on.
2. Computer boots up, mounts the transmissionVault logical volume
3. Wait 10 seconds to ensure that the logical volume has finished mounting
4. Start transmission-daemon

Shutdown Routine:
Send WakeOnLan magic packet to turn off computer, i.e.: Execute “shutdown -h now”
The shutdown command should include:
1. Stop transmission-daemon
2. Wait 10 seconds to ensure that transmission-daemon has finished shutting down
3. Umount transmissionVault logical volume




Recently the Ethernet port of my transmission box has stopped working, so I went ahead and swapped the motherboard with another old motherboard, added a few hard drives, installed a fresh copy of Debian, and re-created the LVM logical volume for transmissionVault. I pretty much have a fairly stock system running at the moment.

Running a headless 3.2.0-4-amd64

I Am Trying To Create A Fedora Live USB Using Ubuntu 14.04 But It's Not So Easy

Unetbootin does not do it and nor does startup disk creator. I the forums are described other ways but too complicated for me. I did find this, with simple instructions


https://ifireball.wordpress.com/2011...tor-on-ubuntu/


sudo aptitude install python-parted isomd5sum python-pyisomd5sum python-urlgrabber extlinux python-qt4 python-qt4-dbus tar


That command should install these packages but all I get is sudo: aptitude: command not found.

isomd5sum
python-parted
python-pyisomd5sum
python-urlgrabber
extlinux
python-qt4
python-qt4-dbus
tar



Does anybody know a simple way to make a Fedora live USB using ubuntu. I was planing to try their Fedora Workstation 22

Recurring Startup Application

Hi
Kindly refer to following post:
http://www.linuxforums.org/forum/pro...tml#post954718
Here, at post #4, solution given by "LSalab" worked for me. So I added it to startup applications in my cinnamon desktop. But the problem is that, it works only once after every login (when the battery gets lower than 10% so it informs me), and if I charge the battery and again it reaches that threshold point of 10%, the system does not inform me, which means that the startup script only executes once.
here is the script:
Code:
#!/bin/bash
while [[ `acpi | cut -d ' ' -f 4 | grep -Po '\d+'` -gt 10 ]]
do echo -ne "\r`acpi`"
sleep 5
done
notify-send -t 60000 'Low Battery' 'Battery charging of your system is below 10%. Kindly Plug charger. Thanks.'
echo ''
mplayer /usr/share/sounds/freedesktop/stereo/phone-outgoing-busy.oga -loop 0

So my question is that, how can I make this script recurring at every threshold level?
Regards

Startup Manager

I have 2 OS using mint.

I would like to select either OS by default.

I have tried to download startup manger, but it is not found.

Is there a substitute method?

Thanks, Jim