Update first-boot.sh and associated scripts to transition from KDE Plasma to rpd-labwc for the Chromium kiosk setup. Modify package installations, LightDM session configurations, and one-shot scripts for wallpaper and rotation to support Wayland. Implement boot order configuration for network-first provisioning. Enhance logging and error handling throughout the scripts.
This commit is contained in:
@@ -25,11 +25,10 @@ if [[ -f /etc/plymouth/plymouthd.conf ]]; then
|
||||
fi
|
||||
update-initramfs -u -k all 2>/dev/null || true
|
||||
|
||||
echo "=== Rotation and wallpaper (run as $PI_USER at next login or now via sudo -u) ==="
|
||||
echo "To set rotation and wallpaper now (with X running), run as $PI_USER:"
|
||||
echo " export DISPLAY=:0"
|
||||
echo " kscreen-doctor output.DSI-1.rotation.right"
|
||||
echo " plasma-apply-wallpaperimage /usr/share/rpd-wallpaper/splash.png"
|
||||
echo "=== Rotation and wallpaper (rpd-labwc / labwc Wayland) ==="
|
||||
echo "To set rotation and wallpaper now (in a labwc session), run as $PI_USER:"
|
||||
echo " wlr-randr --output \$(wlr-randr | awk '/^[A-Za-z0-9_-]+ /{print \$1; exit}') --transform 90"
|
||||
echo " swaybg -i /usr/share/rpd-wallpaper/splash.png -m fill &"
|
||||
echo ""
|
||||
echo "Or ensure one-shots run at next login (they are in autostart if still present)."
|
||||
echo "=== Reboot to apply splash and initramfs ==="
|
||||
|
||||
Reference in New Issue
Block a user