mcarr823 / papertty-init

Installer scripts for PaperTTY
GNU General Public License v3.0
5 stars 1 forks source link

papertty-init

papertty-init automates the process of installing PaperTTY.

You can use the minimal installer (not specific to the Raspberry Pi), which will only install PaperTTY and its dependencies.

Or you can use the full installer (Raspberry Pi only), which will perform all of the necessary setup for a Raspberry Pi, such as enabling SPI, enabling automatic login, and making PaperTTY run automatically on startup.

Minimal install - Raspberry Pi or Desktop PC

You can perform a minimal installation of PaperTTY by running

bash -c "$(curl https://sh.mcarr.dev/simple)"

This installer doesn't perform any operations specific to the Rpi, or create any startup scripts, or change your system settings.

It simply installs PaperTTY and its dependencies on your system.

This script can be run from Raspberry Pi OS (lite or full), or from a desktop computer running Debian 12 (or a derivative, such as Ubuntu or Linux Mint).

In theory this should also work from WSL on Windows, as long as the environment is based on a supported Linux flavor. However, this has not actually been verified.

Full install (GUI or CLI) - Raspberry Pi only

The full installation scripts can be run either from a desktop (Raspberry Pi OS) or a command-line environment (Raspberry Pi OS Lite).

Both versions do the following

The desktop version does the following

If you're using Raspberry Pi OS with a desktop environment, open a terminal and paste this command:

bash -c "$(curl https://sh.mcarr.dev/gui)"

If you're using Raspberry Pi OS Lite in a text-only environment, type in:

bash -c "$(curl https://sh.mcarr.dev/cli)"

Full installer - After installation

You will likely want to change PaperTTY's startup script to suit your panel.

For example, you might need to switch between landscape and portrait, or change the font size.

You can find the script which runs papertty on startup in /home/pi/.local/bin/papertty-init/startpapertty.sh

You can find a complete list of different options in the official PaperTTY repository: https://github.com/joukos/PaperTTY