Raspberry Pi is a series of small single-board computers.

Install a system Link to heading

  • Rasbian download page (Default rasbian credentials: pi / raspberry)
  • Main settings: sudo rasbi-config
    • Change Locale
    • Change TimeZone
    • Change Keyboard
    • Enable VNC
    • Enable SSH
    • Change Password
  • Additionall tools:
 1sudo apt install zenity screen mc htop jq curl wget tree
 2sudo apt install ncdu p7zip-full dialog elinks
 3
 4# tools to control/emulate mouse and keyboard
 5sudo apt install xdotool wmctrl xclip
 6
 7# cli tools to control Wi-Fi settings
 8sudo apt install wicd wicd-cli wicd-curses
 9
10# Link vim to vim.tiny
11which vim >/dev/null || (which vim.tiny >/dev/null && sudo ln -vs $(which vim.tiny) /usr/bin/vim)
12
13# Add help aliases
14echo "alias ll='ls -ahl'" >> ~/.bashrc
15
16# Download additional tools and settings
17wget -O "/tmp/system-info-pi" "https://revgen.github.io/files/distr/raspberry-pi/system-info-pi"
18chmod +x /tmp/system-info-pi
19sudo mv /tmp/system-info-pi /usr/bin/system-info-pi
20
21# Create autostart script
22mkdir -p ${HOME}/.config/autostart
23wget -O "${HOME}/.config/autostart/autostart.desktop" "https://revgen.github.io/files/distr/raspberry-pi/autostart/autostart.desktop"
24wget -O "${HOME}/.config/autostart/autostart.sh" "https://revgen.github.io/files/distr/raspberry-pi/autostart/autostart.sh"

Setup: python + pip Link to heading

1wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py
2python /tmp/get-pip.py
3sudo ln -fs $(which python3) /usr/bin/python
4sudo ln -fs $(which pip3) /usr/bin/pip

Add new user Link to heading

1sudo apt-get install -y sudo
2adduser <username>
3# usermod -a -G sudo <username>
4# usermod -a -G adm,sudo,audio,video,games,users,input,gpio,netdev,i2c,spi <username>

Install Xfce Link to heading

1sudo apt-get install --no-install-recommends xserver-xorg xinit
2sudo apt-get install --no-install-recommends xfce4 xfce4-notifyd
3sudo apt-get install -y lightdm
4sudo apt-get install -y xfce4-terminal thunar thunar-archive-plugin ristretto 
5sudo apt-get install -y xfce4-datetime-plugin xfce4-xkb-plugin xfce4-pulseaudio-plugin

Install Raspberry Pi Desktop (RPD) GUI Link to heading

1sudo apt-get install --no-install-recommends xserver-xorg xinit
2sudo apt-get install raspberrypi-ui-mods raspberrypi-net-mods lxsession rpd-icons
3sudo apt-get install -y lightdm
4sudo apt-get install -y pi-greeter  gtk2-engines-clearlookspix xfce4-terminal

Install Windows TTF fonts (non-free contrib - packages) Link to heading

1sudo apt-get install -y ttf-mscorefonts-installer

Core GUI tools Link to heading

1sudo apt-get install evince wpagui firefox-esr

Automount usb drives Link to heading

 1sudo apt-get install usbmount
 2sudo cp /lid/systemd/system/systemd-udevd.service /lid/systemd/system/systemd-udevd.service.bak
 3sudo sed -i 's/MountFlags=slave/MountFlags=shared/g' /lid/systemd/system/systemd-udevd.service
 4sudo cp /etc/usbmount/usbmount.conf /etc/usbmount/usbmount.conf.bak
 5sudo sed -i 's/FS_MOUNTOPTIONS=""/FS_MOUNTOPTIONS="-fstype=vfat,gid=pi,uid=pi,umask=0,allow_other,utf8"/g' /etc/usbmount/usbmount.conf
 6sudo systemctl restart systemd-udevd
 7
 8# Support ExFat file system
 9sudo apt-get install fuse-exfat exfat-utils
10# Support NTFS file system
11sudo apt-get install ntfs-3g
12
13# reboot

Display Link to heading

Display 3.2inch RPi LCD Link to heading

WaveShare 3.2

Quick connect display to the Raspberry Pi (tested on Raspberry Pi 3)

1git clone https://github.com/waveshare/LCD-show.git
2cd LCD-show/
3./LCD32-show
4
5# ./LCD-hdmi - return outut to HDMI only

Documentations Link to heading