A set of scripts to streamline setup octoprint on a touch screen mounted raspberry pi. On startup, a screen will show the ip address before starting the control UI.
These scripts assumes an installation Raspberry Pi OS with a user of piprint with sudo rights. If the username is different, go through the scripts/files and revise it accordingly.
Copy the files of this repository in a folder named print under the home folder (/home/piprint/print).
Next ensure all scripts are executable (chmod 775 *.sh)
- Install pre-run prompt
- This produces a prompt inform the user of the printer's IP address before starting.
- Install package:
sudo pip3 install PrerunPrompt-1.0.0-py3-none-any.whl
- In a new terminal run
setupPrerunPrompt
to setup prerunPrompt. - Install octoprint
- Run
./installOctoprint.sh
(NOTE: this will reboot the system) - Run './addToAutoStart.sh' so it auto start (NOTE: this will reboot the system)
- Install TouchUI
- Under Plugin Manager search for TouchUI and install it. This will require you to reboot to take effect.
- TouchUI can be disabled or enabled from the corner right. When disabled, this option can be accessed by the smartphone icon and when enabled it is a sub-menu option in the hamburger menu in the uper right.
Contained is a folder called old_scripts
these are no longer used, but may be of use with older hardware/software.
Controls are shown through chromium browser in kiosk mode, just prest alt-f4 to exit.