Skip to content

Commit

Permalink
style: update readme to reflect ccorrect screensaver mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashcroft committed Apr 17, 2021
1 parent 988eeed commit 2a240a8
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,23 @@ Alternatively, you can use packages to run a local webserver.
> *NOTE*: 🚨 This app uses Environment Variables to keep your Client ID and Secret secure. These will not be added to your compiled code, so you must set these within your server. Please consult your server documentation on how to handle these.
### 6. View on your Pi and play some music.
Now you're ready to go. Open your site on the Raspberry Pi, login, and play some music. I'd recommend disabling the screensaver on your Pi and opening Chromium in kiosk mode:
Now you're ready to go. Open your site on the Raspberry Pi, login, and play some music. I'd recommend disabling the screensaver on your Pi and opening Chromium in kiosk mode.

If using Raspbian, to disable screen-off:

Open autostart:
```
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
```

Add the following 2 commands to what is already there:
```
@xset s off
@xset -dpms
```

Launch Chromium in kiosk mode (full-screen, no toolbars):
```
@xset s off # disable the screensaver
@xset -dpms # disable energy saving features
@xset s noblank # ensure screen doesn't go blank
DISPLAY=:0 chromium-browser -kiosk https://[your-url] # open up chromium to specific web page
```
---
Expand Down

0 comments on commit 2a240a8

Please sign in to comment.