Intro
The image based on raspberry pi os
and it is better to run a Ubuntu 21.04 in a VirtualBox to do all the jobs
The entire operation requires a certain experience in linux
be careful
Start a chroot env
Inside chroot
Config xrandr
config lightdm
/etc/lightdm/lightdm.conf
greeter-setup-script=/etc/lightdm/setup.sh
sudo chmod +x /etc/lightdm/setup.sh
Modify /etc/dphys-swapfile
Change the default wallpaper
The following files changed
- /etc/xdg/pcmanfm/LXDE-pi/desktop-items-0.conf
- /etc/xdg/pcmanfm/LXDE-pi/desktop-items-1.conf
- /etc/lightdm/pi-greeter.conf
- /home/pi/.config/pcmanfm/LXDE-pi/desktop-items-0.conf
Delete wallpaper address temple.jpg,change the desktop_bg color to #202020
change /etc/hostname to clockworkpi
in /boot/cmdline.txt ,add fbcon=rotate:1, remove quiet
Now quit the chroot env
Flash the image to SD card
- Linux
sudo dd if=2021-05-07-raspios-buster-armhf-full.img of=/dev/sdX bs=8M status=progress