/piconf

Backup and restore optimal Raspberry Pi configurations w/ Waveshare SPI LCDs, X11, dtoverlays etc.

Primary LanguageShell

Raspberry Pi Configuration

Backup of Raspberry Pi Buster config files and environment.

Usage

  • config.js is a definition of what files and folder to backup.
  • backup.js will copy these files into the root of the repository.
  • restore.js will copy backed up files back into the filesystem.

Use with care!

Details

Linux dev 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux

Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster

Last updated: Sun Mar 07 2021
///////
pathdesc
/etc/samba/smb.confcreate shares for home and various boot config folders (dangerous!)
/usr/share/X11/xorg.conf.d/99-fbdev.confspan desktop across PAL TV out and Waveshare LCD
/usr/share/X11/xorg.conf.d/45-evdev.confdefaults for keyboard, mouse and touchscreens (using evdev, instead of libinput)
/usr/share/X11/xorg.conf.d/99-calibration.confcreate transform matrix and adjustments for touchscreen
/boot/config.txtenable LCD driver and video inputs etc
/boot/cmdline.txtadditional flag added for framebuffer
/etc/lightdm/lightdm.confdisable sleep in X11 desktop settings