Octoprint
TFT 5″ Waveshare
https://www.waveshare.com/wiki/5inch_HDMI_LCD
cmdline.txt
add: fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo
config.txt
start_x=1
gpu_mem=128
dtparam=audio=on
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
hdmi_drive=1
hdmi_force_hotplug=1
Boot image
replace picture: /usr/share/plymouth/themes/pix/splash.png
Desktop install
apt-get install raspberrypi-ui-mods
Touch calibration
sudo apt-get install xserver-xorg-input-evdev xinput-calibrator
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
sudo nano /usr/share/X11/xorg.conf.d/99-calibration.conf
Add the following code to 99-calibration.conf:
Section “InputClass”
Identifier “calibration”
MatchProduct “ADS7846 Touchscreen”
Option “Calibration” “150 3924 237 4037”
Option “SwapAxes” “0”
Option “EmulateThirdButton” “1”
Option “EmulateThirdButtonTimeout” “1000”
Option “EmulateThirdButtonMoveThreshold” “300”
EndSection
Octodash
Install
apt install libayatana-appindicator3-1
bash <(wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/install.sh)
Uninstall
wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/remove.sh | bash