garrettheath4 / rpi-chrome-display

Use a Raspberry Pi as a non-interactive kiosk to display a web page using the Chromium browser
0 stars 0 forks source link

Raspberry Pi Chrome Display

The purpose of this project is to provide instructions on how to have a Raspberry Pi boot up to a full-screen web page in the Chromium web browser.

Instructions

  1. Install Raspbian on your Raspberry Pi

  2. Use sudo raspi-config command to configure the system:

    • Update to make sure you have the latest script
    • Set new password for default pi user
    • Network
      • Set hostname
      • Auto-connect to Wi-Fi network (if not using wired ethernet)
    • Boot to Desktop GUI
    • Localisation
      • Set locale to en_US.UTF-8 UTF-8
      • Set timezone
      • Set keyboard layout
        • Keyboard: Generic 104-key PC
        • Layout: Other: English (US)
        • AltGr: default
        • Compose key: No compose key
        • Use Control+Alt+Backspace to terminate the X server: No
    • Interfacing Options: Enable SSH (if desired)
    • Advanced: Expand Filesystem
  3. Reboot the system (into Desktop GUI) using sudo reboot

  4. Application Menu > Preferences > Raspberry Pi Configuration

    • Check Login as user 'pi'
    • Set resolution to 720p or 1080p (CEA mode, for TVs)
  5. Disable autologin on tty1 while leaving it enabled in GUI by running:

    sudo systemctl disable getty@tty1.service
  6. Clone this repository to the home directory of the pi user:

    git clone https://github.com/garrettheath4/rpi-chrome-display.git
  7. Run this project's install script

    cd rpi-chrome-display
    ./install.sh
  8. In Chromium, click on the uBlock Origin extension icon (to the right of the address bar), click the Open the dashboard button (in the uBlock Origin pop-up menu), go to the My Filters tab, add the following lines to the text box, and click the Apply changes button:

    ! Hide the signup banner at the bottom of the page on https://www.haystack.tv/
    www.haystack.tv###signup-intro
  9. Install the Tampermonkey extension for Chromium

  10. Go to this URL in Chromium to install the Haystack Full Video user script

  11. In Chromium, go to Menu > More Tools > Extensions and check Allow in incognito next to the h264ify, uBlock Origin, and Tampermonkey extensions.

  12. Optional: Connect the Raspberry Pi to the screen where it will be playing the videos (e.g. digital display, TV, or monitor) and use the set_overscan project on GitHub to set the HDMI overscan.

  13. Optional: Uninstall "bloatware" software that you don't need (it takes up space and slows down updates). See this project for examples of software to remove after a standard Raspian installation.

  14. Optional: Read this article to install and configure unattended-upgrades

  15. Reboot the system using sudo reboot to make sure it works

Sources