mirror of
https://github.com/zyphlar/doorlock.git
synced 2024-04-03 21:36:03 +00:00
add autostart and documentation
This commit is contained in:
parent
3fbda25cbd
commit
554b5e7264
9
autostart
Normal file
9
autostart
Normal 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
|
|
@ -57,7 +57,7 @@ You should now be able to view the app at http://localhost:3000
|
||||||
|
|
||||||
# Autostart
|
# 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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user