add autostart and documentation

This commit is contained in:
Will Bradley 2018-09-01 17:28:56 -07:00
parent 3fbda25cbd
commit 554b5e7264
No known key found for this signature in database
GPG Key ID: 42BAE225DDDB7093
2 changed files with 10 additions and 1 deletions

9
autostart Normal file
View File

@ -0,0 +1,9 @@
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
#@xscreensaver -no-splash
@point-rpi
@xset s noblank
@xset s off
@xset -dpms
@bash /home/pi/doorlock/start.sh

View File

@ -57,7 +57,7 @@ You should now be able to view the app at http://localhost:3000
# Autostart
On a RasPi, copy the contents of the autostart file into: `~/.config/lxsession/LXDE-pi/autostart`
On a RasPi, copy the contents of the autostart file into: `~/.config/lxsession/LXDE-pi/autostart` (presuming you've downloaded this repo to `/home/pi/doorlock`)
Optionally, to help users with debugging, run `ln -s /home/pi/doorlock/start.sh ~/Desktop/start-doorlock.sh` to give them a link on the desktop.