24 lines
656 B
Bash
24 lines
656 B
Bash
#!/bin/bash
|
|
mkdir ~/Documents
|
|
sudo apt-get update && sudo apt-get upgrade -y
|
|
sudo apt-get install git wget fuse3 wamerican -y
|
|
|
|
wget https://git.ascosilinux.com/batvin321/CLI-typewriter-app/releases/download/0.1/writer-menu-RPI4.AppImage
|
|
echo ./writer-menu-RPI4.AppImage >> ~/.bashrc
|
|
|
|
echo "enable SPI interface, auto login to console and don't reboot"
|
|
sleep 10s
|
|
sudo raspi-config
|
|
|
|
echo "change console font to terminus and adjust font size"
|
|
sleep 10s
|
|
sudo dpkg-reconfigure console-setup
|
|
|
|
echo "chhange keyboard layout"
|
|
sleep 10s
|
|
sudo dpkg-reconfigure keyboard-configuration
|
|
|
|
git clone https://github.com/goodtft/LCD-show.git .LCD
|
|
cd .LCD
|
|
sudo ./LCD35-show
|