From 70d68e54124e40a5a90e58a3b6f71299b23c32c9 Mon Sep 17 00:00:00 2001 From: GNU Date: Thu, 30 Mar 2023 10:27:55 +0800 Subject: [PATCH] Updated Create DevTerm CM4 OS image from scratch (markdown) --- Create-DevTerm-CM4-OS-image-from-scratch.md | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Create-DevTerm-CM4-OS-image-from-scratch.md b/Create-DevTerm-CM4-OS-image-from-scratch.md index dd077f2..307e679 100644 --- a/Create-DevTerm-CM4-OS-image-from-scratch.md +++ b/Create-DevTerm-CM4-OS-image-from-scratch.md @@ -69,6 +69,42 @@ 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` +**Screen rotation** +change +``` +/etc/skel/.config/monitors.xml +/home/{pi,rpi-first-boot-wizard}/.config/monitors.xml +``` +to be like +``` + + + + 0 + 0 + yes + + + DSI-1 + unknown + unknown + unknown + + + 480 + 1280 + 60.000 + + + + right + + + + +``` + + ### Now quit the chroot env ``` exit