rembo10/headphones — Issue #404: Install Guide for Linux
Author: Burtrn
Created: 2011-11-28 22:26:52+00:00
State: open

https://github.com/rembo10/headphones/wiki/Install-as-a-daemon

At that link you may want to fix (second to last line):
Adjust settings in headphonesinit.d (installpath and run as user)
sudo cp headphonesinit.d /etc/init.d/headphones
sudo chmod +x /etc/init.d/headphones
[[[[[[[[[[[[[ sudo update-rc.d /etc/init.d/headphones defaults ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
sudo /etc/init.d/headphones start | stop | reload | restart

Experienced users may figure it out instantly, but people new to Linux (like myself) could find it hard to understand when you get an 'invalid file location' error.

sudo update-rc.d /etc/init.d/headphones defaults
[change to>
sudo update-rc.d headphones defaults

Because you are already in the directory xD
Thanks, and good luck on all your work!!!! :)