Guide 3.5in octopi setup with startup splash



-Download the above Splash.png or make your own and place on sd card boot

<Generic user 'pi' password 'raspberry'>

update "octopi-wpa-supplicant" with wifi info and replace on SD Card
I started with 2019-09-26-octopi-buster-lite-0.17.0 disk img

setup the LCD
-if you have a HDMI screen this will work for you if not then find your drivers...... do this first this breaks things if done later

git clone https://github.com/waveshare/LCD-show.git
cd LCD-show/
sudo ./LCD35-HDMI-480x320-show
-after reboot
cd LCD-show/
sudo ./LCD35-HDMI-480x320-show 180

-i use the 3.5in 480x320 screen... if you need a different res then sudo nano /boot/config.txt and change 480 and 320 on this line hdmi_cvt 480 320 60 6 0 0 0

setup the raspberry pi buster & update
sudo raspi-config
8 = update
1 = change password
4 = Localisation + 2 = timezone
4 = Localisation + 4 = wifi country
7 = Advanced + 1 = expand the filesystem on the sdcard
5 = Interfacing + 1 = enable the camera
3 = Boot + 1 = Desktop +2 = console autologin
Finish
-after reboot
sudo -s
apt update
apt install libgtk-3-0 xserver-xorg xinit xserver-xorg-video-fbdev xinput-calibrator xserver-xorg-input-evdev chromium plymouth pix-plym-splash samba samba-common-bin
apt upgrade
apt dist-upgrade
apt autoremove
apt clean
nano /boot/config.txt

-copy and paste to end of file

disable_splash=1
logo.nologo
disable_camera_led=1

-save & exit

nano /boot/cmdline.txt

-copy and paste to end of file

quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=0

-save & exit

cp /boot/splash.png /usr/share/plymouth/themes/pix/splash.png
reboot

setup the touch
DISPLAY=:0.0 xinput_calibrator
sudo -s

-delete everything in file, copy and paste

Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "247 3939 175 3881"
Option "SwapAxes" "1"
EndSection

-save & exit

reboot

setup samba shares
sudo -s
smbpasswd -a pi
nano /etc/samba/smb.conf

-copy and paste to end of file

[Timelapse]
path = /home/pi/.octoprint/timelapse
valid users = pi
browsable = yes
writable = yes
read only = no

[Uploads]
path = /home/pi/.octoprint/uploads
valid users = pi
browsable = yes
writable = yes
read only = no

[Watched]
path = /home/pi/.octoprint/watched
valid users = pi
browsable = yes
writable = yes
read only = no

[Logs]
path = /home/pi/.octoprint/logs
valid users = pi
browsable = yes
writable = yes
read only = no

-save & exit

reboot

setup octoprint
http://octopi.local
setup, update & add touch ui

setup autostarts
-both of these TFT autostarts dont work by them selfs but if you install in this order everything works in the end

wget https://github.com/mcuadros/OctoPrint-TFT/releases/download/v0.1.2/octoprint-tft_0.1.2-1.stretch_armhf.deb
git clone https://github.com/BillyBlaze/OctoPrint-TouchUI-autostart.git ~/TouchUI-autostart/
sudo -s
dpkg -i octoprint-tft_0.1.2-1.stretch_armhf.deb
systemctl set-default graphical.target
mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf.old
~/TouchUI-autostart/helpers/install
apt update
apt upgrade
apt autoremove
apt clean
reboot

May I ask you to use the quote or pre-formated text button to make your post a little better readable?
grafik
the pre-formated text button is great for code or terminal parts

thanks for your work :slight_smile:

:+1: