Gadgets and Things

Blogs about gadgets and stuffs I've been playing with

Saturday, February 10, 2024

Raspi Mirror Kiosk setup

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..


Posted by Roland at 11:45 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2024 (1)
    • ▼  February (1)
      • Raspi Mirror Kiosk setup
  • ►  2023 (1)
    • ►  January (1)
  • ►  2021 (1)
    • ►  April (1)
  • ►  2015 (2)
    • ►  December (1)
    • ►  February (1)
  • ►  2013 (1)
    • ►  February (1)
  • ►  2012 (3)
    • ►  December (1)
    • ►  October (1)
    • ►  September (1)

About Me

My photo
Roland
View my complete profile

Gadgets and Things

Awesome Inc. theme. Powered by Blogger.