Screenflex for Raspberry Pi
A complete guide to installing, configuring, and optimizing the Screenflex Player on Raspberry Pi devices running Raspberry Pi OS.
1. Supported Raspberry Pi Models
Screenflex is optimized for all modern Raspberry Pi boards:
Fully Supported
- Raspberry Pi 4 (2GB / 4GB / 8GB)
- Raspberry Pi 400
- Raspberry Pi 5 (recommended for 4K content)
Partially Supported
- Raspberry Pi 3B/3B+ (1080p recommended)
2. System Requirements
OS Compatibility
- Raspberry Pi OS (32-bit or 64-bit)
- Debian 10 or higher (via Raspberry Pi OS base)
Hardware Requirements
- CPU: Quad-core
- RAM: 2GB+ (4GB recommended)
- Storage: 16GB+ microSD (Class 10 or SSD recommended)
- Network: WiFi or Ethernet (Ethernet recommended for signage)
Performance Recommendations
- 1080p video: Pi 3, Pi 4, Pi 5
- 4K video: Pi 4 (limited), Pi 5 (best)
3. Downloading Screenflex for Raspberry Pi
4. Installing Screenflex on Raspberry Pi
Since Raspberry Pi OS is Debian-based, installation is straightforward.
Step 1 — Install the .deb package
Run:
sudo dpkg -i screenflex.debFix missing dependencies (if any):
sudo apt --fix-broken installStep 2 — Launch the application
You can start Screenflex by searching for it in the Raspberry Pi menu, or via terminal:
screenflex5. Linking Your Device to Screenflex
Step 1 — Generate the Code
- Log in to your Screenflex Dashboard.
- Navigate to Screens → Add Screen.
- Fill in the form.
- A 6-digit pairing code will be generated automatically.
Step 2 — Enter the Code on the Pi
- Open the Screenflex app.
- Enter the 6-digit code provided by the dashboard.
(Or enter the Screen Slug)
- After a few seconds, the device will:
- Link to your account
- Sync the assigned playlists
- Begin showing content automatically
This linking method ensures that only authorized users can register new screens.
6. Auto-Start on Boot (Kiosk Mode)
For digital signage, the Raspberry Pi should automatically open the Screenflex app after boot.
Option A — systemd Service (Recommended)
1. Open terminal
2. Create service file:
sudo nano /etc/systemd/system/screenflex.service3. Paste:
[Unit]
Description=Start Screenflex on boot
After=lightdm.service
Wants=lightdm.service
[Service]
User=screenflex
WorkingDirectory=/home/screenflex
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/screenflex/.Xauthority
ExecStart=/usr/bin/screenflex
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target4.Reload systemd configuration
sudo systemctl daemon-reload5. Enable Screenflex service on boot
sudo systemctl enable screenflex.service6. Restart the Screenflex service
sudo systemctl restart screenflex.service7. Check the current status of the Screenflex service
sudo systemctl status screenflex.serviceOption B — Autostart (LXDE / Raspberry Pi OS Desktop)
- Open terminal
- Edit autostart:nginx
nano ~/.config/lxsession/LXDE-pi/autostart - Add:nginx
@screenflex - Save & reboot.
7. Disable Screen Saver / Sleep (Critical)
Raspberry Pi devices are designed to save power by turning off the screen after a few minutes of inactivity.
For digital signage, this is a problem because your content must stay visible 24/7.
To prevent the screen from going black, we must disable:
- Screen Blanking
- Screen Saver
- Power Saving (DPMS)
Below are the steps explained clearly.
A. Disable screen blanking
Screen blanking is when the Raspberry Pi turns the display black after a while to save energy.
To disable it:
- Open the Raspberry Pi Configuration Tool
Open Terminal and type:
nginxsudo raspi-config - Navigate using arrow keys: Go to: Display Options → Screen Blanking
- Disable screen blanking: Choose Disable
- Then exit and reboot when asked.
This ensures the screen never turns off automatically.
B. Remove the Screen Saver Software (if installed)
Some Raspberry Pi OS versions include a program called xscreensaver, which activates different screen animations.
For digital signage, you don’t need it.
To remove it:
- Open terminal
- Run:nginx
sudo apt remove xscreensaver
C. Disable Power-Saving Mode (DPMS)
DPMS is a feature that tells the display to enter sleep mode after a period of inactivity.
We must turn it off so your display never sleeps.
- Open the Raspberry Pi autostart configuration:nginx
nano ~/.config/lxsession/LXDE-pi/autostart - Add these lines at the bottom:nginx
@xset s off @xset -dpms @xset s noblank - Save and Exit
- Press CTRL + X
- Then Y to save
- Then Enter to exit
- Reboot the devicenginx
sudo reboot
Now the screen will stay on forever, even if no one touches the device.
8. Optimizing Performance on Raspberry Pi
Video Playback
- Prefer 1080p for Pi 3 or Pi 4
- For 4K, use Pi 4 or Pi 5 (hardware decoding recommended)
- Use H.264 or H.265 video formats
System Tweaks
- Use Ethernet instead of WiFi if possible
- Use a high-quality power supply (official charger recommended)
- Keep temperature below 80°C: Add a fan or heatsink if needed
9. Updating Screenflex on Raspberry Pi
Download updated file and install:
sudo dpkg -i screenflex.deb
sudo apt --fix-broken install10. Troubleshooting
Screenflex doesn’t link
- Make sure the pairing code exists
- Verify the device has internet
- Check for typos in the 6-digit code or slug
Playback freezes or stutters
- Lower video resolution
- Enable hardware acceleration
- Ensure device temperature is safe
App closes unexpectedly
- Disable battery optimizations
- Lock the app using App Pinning
- Restart the device
- Ensure the device is plugged in
- Check for any recent updates
Empty Screen
- Ensure a playlist is assigned
- Try clearing local cache and reopening the app
11. Limitations
There are currently some limitations. Check them out here.