Klipper Configuration files for Gigabot 3D-Printers
The Gigabot Touchscreen is built ontop of FullPageOS This CustomPiOS is a Raspbian image that displays a chromium webpage in full screen mode.
This repository is used to install additional OS dependencies and repositories to install the Klipper software stack ontop of FullPageOS.
Download the latest release package in releases and follow the instructions in the attached pdf.
git clone --branch main https://github.com/Mitchell-Mashburn/klipper_config
sudo ./src/system_config/install.sh
. Wait for the installation to finishsudo apt update
sudo apt upgrade
cd kiauh
./kiauh.sh
As stated above, there are many Fullpageos_modifications specific to getting the raspberry pi to display its interface on the HMTech Display.
apt-get Dependencies ontop of FullpageOS:
xinput ripgrep nmap
Other system level configurations are as
Add --enable-features=OverlayScrollbar
to starting chromium script, ~/scripts/start_chromium_browser
Append xserver-command=X -nocursor
to /usr/share/lightdm/lightdm.conf.d/01_debian.conf
Copy .config
to home directory of pi
Append dtoverlay=vc4-kms-v3d
to /boot/config.txt
Upload xrandr/
script file, and add lightdm.conf
to /etc/lightdm/lightdm.conf
Move lightdm.conf
to /etc/lightdm/
Install xinput with sudo apt install xinput
enable full kms driver, and run ~/scripts/rotate.sh left
Upload cmdline.txt
to /boot/
Get lightdm service status journalctl -u lightdm.service
autoexpect -p ./kiauh/kiauh.sh
sudo apt update
sudo apt upgrade
sudo apt install -y bc git flex bison libssl-dev libncurses5-dev
sudo wget https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update
rpi-source
sudo git clone https://github.com/cilynx/rtl88x2bu
cd rtl8822bu
sudo nano Makefile
# Update lines 100 and 101 to this and save the file:
# CONFIG_PLATFORM_I386_PC = n
# CONFIG_PLATFORM_ARM_RPI = y -->
sudo make
sudo make install
sudo reboot
Below is the guide on creating a customized image of the OS to flash as bootable media.
sudo apt-get install gparted -y
lsblk
sudo mkdir /dev/myusb
to create a directory then sudo mount /dev/sda1 /dev/myusb
to mount it.sudo dd if=/dev/mmcblk0 of=[mount point]/copy.img bs=1M count=6500 status=progress
wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
sudo chmod +x pishrink.sh
sudo mv pishrink.sh /usr/local/bin
cd /dev/myusb
sudo pishrink.sh -z copy.img
Happy Printing! :)