This is a how-to setup for my Raspi Mirror, which is basically just a Rasperry Pi running a webpage on Kiosk mode.
Install Raspbian on your Pi.
After Installing Raspbian
1. Install unclutter
sudo apt install unclutter
2. Setup Chromium to autostart in kiosk mode (and remove cursor)
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
#Put this lines in the autostart file
@chromium-browser --start-fullscreen --kiosk https://your.webpage.here
@unclutter -idle 0.01
3. Setup Crontab to turn off screen at night and turn on in the morning
crontab -e
#Put this lines in the crontab file
0 22 * * * vcgencmd display_power 0
0 7 * * * vcgencmd display_power 1
4. Edit /boot/config.txt
display_rotate=1
- note this probably don't work anymore, need to go to desktop and change orientation
- With the Raspberry Pi Configuration menu opened, you will need to first change to the “ Display ” tab. Within this tab, you should see the option named “ Screen Blanking “, click the “ Disabled ” button next to the option. Once the option is disabled, click the “ Ok ” button to apply the change
Added Note:
vcgencmd no longer works in new builds, you will need to do this:
- edit file /boot/config.txt
- comment out this line dtoverlay=vc4-kms-v3d
- save file
- reboot
This will also make display_rotate=1 work..
No comments:
Post a Comment