Getting started
-
Install
ssp. The installer downloads the latest release for your system, checks its SHA-256 checksum and putssspon yourPATH.Terminal window curl -fsSL https://subscreen.dev/install.sh | shIt installs to
~/.local/bin(change withSSP_INSTALL_DIR). Or use Homebrew, which also updates it later:Terminal window brew install nomunomu0504/tap/sspTerminal window powershell -c "irm https://subscreen.dev/install.ps1 | iex"It installs to
%LOCALAPPDATA%\Programs\sub-screen-playerand adds it to yourPATH. Or use Scoop, which also updates it later:Terminal window scoop bucket add nomunomu0504 https://github.com/nomunomu0504/scoop-bucketscoop install nomunomu0504/sspYou can also download the archive yourself or build from source.
-
Linux only: allow access to the display. Install the udev rule and apply it (replugging the display applies it too).
Terminal window curl -fsSL https://raw.githubusercontent.com/nomunomu0504/sub-screen-player/main/contrib/linux/70-sub-screen-player.rules \| sudo tee /etc/udev/rules.d/70-sub-screen-player.rules > /dev/nullsudo udevadm control --reload-rulessudo udevadm trigger --action=add --subsystem-match=hidrawThe rule lets whoever is logged in at the computer’s screen use the display, and the
plugdevgroup, for a computer used without a desktop (a Raspberry Pi over SSH). Debian, Ubuntu and Raspberry Pi OS put the first user inplugdev. To show web pages there as well, install the browser libraries too. -
Plug in the display and start the daemon. The clock appears.
Terminal window ssp serve -
Try a few commands in another terminal.
Terminal window ssp devices # list displaysssp show photo.jpg --fit cover # show an imagessp clock --no-seconds # back to the clock, without secondsssp brightness 60 # backlight in percent -
Start it at login. Stop
ssp servewith Ctrl-C, then:Terminal window ssp service installOn Linux the daemon stops when you log out, also from SSH. To keep it running, and start it when the computer starts (a Raspberry Pi, for example):
Terminal window sudo loginctl enable-linger $USER
Next steps
Section titled “Next steps”- Command line guide: every command, and recipes such as dimming at night or using several displays
- HTTP / WebSocket API: draw your own content
- D92 notes: what the display can do and how it was tested