This repository contains a script to set up a Raspberry Pi as a kiosk, displaying a web page in full-screen mode using Chromium. The setup includes installing necessary packages, configuring Openbox, setting a fallback wallpaper, and enabling VNC.
The setup.sh
script performs the following tasks:
- Updates the package list.
- Installs necessary packages for the kiosk setup.
- Sets up a fallback wallpaper.
- Configures Openbox to disable power management, hide the mouse cursor, and start Chromium in kiosk mode displaying the specified web page.
- Enables X11 and VNC on boot.
- Configures automatic login and VNC.
- Cleans up unnecessary packages.
- Reboots the system to apply changes.
First, install Raspberry Pi OS Bookworm (64-bit) and log in as a non-privileged user. Do not switch to or use su
/sudo
for root access. Run the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/oszuidwest/rpi-teksttv/main/install.sh)".
This will execute the script, install necessary packages, and configure the Raspberry Pi for kiosk mode.
You can customize the script to use a different wallpaper or web page by modifying the WALLPAPER_URL
and CHROME_URL
variables at the beginning of the install.sh
script.
WALLPAPER_URL="your_custom_wallpaper_url"
CHROME_URL="your_custom_chrome_url"
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to submit issues and pull requests for improvements and additional features.