Updated Create DevTerm CM4 OS image from scratch (markdown)

GNU 2023-03-30 10:27:55 +08:00
parent d6ed316d2c
commit 70d68e5412

@ -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
```
<monitors version="2">
<configuration>
<logicalmonitor>
<x>0</x>
<y>0</y>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>DSI-1</connector>
<vendor>unknown</vendor>
<product>unknown</product>
<serial>unknown</serial>
</monitorspec>
<mode>
<width>480</width>
<height>1280</height>
<rate>60.000</rate>
</mode>
</monitor>
<transform>
<rotation>right</rotation>
</transform>
</logicalmonitor>
</configuration>
</monitors>
```
### Now quit the chroot env
```
exit