Skip to content

Mediaplayer setup

Hardware

  • RPi 5

Setup

  • Flash Raspberry Pi OS (or Ubuntu) using rpi-imager
    • (use stored config settings for user, hostname, locale, wifi setup etc.)
  • If not using rpi-imager configure manually:
    • Set hostname
      • Using hostnamectl (~/Howtos/systemd/hostnamectl.md)
      • or via Settings/Screen configuration menu entry
    • sudo raspi-conifg
      • Interface options
        • enable ssh

Raspberry PI OS config

  • Finish setup wizard
    • Display Options
      • Disable screen blankking
    • Performance options
      • GPU Mem: 256

Further config

  • apt update && apt upgrade
  • Run ansible

    bash cd ~/ansible/ varac ansible-playbook -l mediaplayer site.yml

  • reboot

Run ansible-playbook again (?)

Additional tasks

  • Turn off screen saver (Settings → Privacy → Screenlock)
  • Bigger fonts (Settings → Accessability)

Autostart in fullscreen mode

~/.config/autostart/firefox-fullscreen.desktop:

[Desktop Entry]
Type=Application
Exec=firefox --start-fullscreen
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Firefox-Fullscreen