mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-15 11:48:50 +01:00
Page:
Devterm CM3 rpi os image
Pages
7110 dev board note
Compile Devterm CM4 kernel
Compile and run devterm printer
Compile andriod kernel for cm4
Compile keyboard bootloader and firmware
Compile lineage os 19.1 kernel for rpi4(cm4)
Compile the widescreen version of Cave Story from the source code
Create DevTerm A04 OS image from scratch
Create DevTerm A06 OS image from scratch
Create DevTerm CM3 OS image from scratch
Create DevTerm CM4 OS image from scratch
Create DevTerm R01 OS image from scratch
DevTerm A06 Install ibus input method
Devterm CM3 rpi os image
Devterm CM3 ubuntu server image
Devterm CM4 GPIO map
Guide To Setup thermal printer from source code
Home
How to Compile cool retro term for DevTerm
How to compile DevTerm CM3 Kernel
Keyboard with FPC 60pin 0.5mm
nmcli with gsm
Clone
6
Devterm CM3 rpi os image
GNU edited this page 2021-09-26 09:33:37 +08:00
Orginal image download URL
Modification request list
- screen rotation for xrandr,fbcon,lightdm
- Remove the wallpaper and change the solid color #202020
- Install all rpi-related debs in the apt source
Packages in devterm apt source
- devterm-audio-patch (check whether the 3.5 audio interface is plugged in, pull up a certain GPIO)
- devterm-fan-temp-daemon-rpi (detect the temperature of rpi, raise the io drive fan, written in python)
- devterm-kernel-rpi (modified kernel, 4.x series)
- devterm-keyboard-firmware (Devterm keyboard firmware flashing tool, Advanced users only!)
- devterm-thermal-printer (thermal printer program and systemd scripts)
- devterm-thermal-printer-cups (CUPS filter for the thermal printer, and add the thermal printer to cups, so devterm printer can be seen in chromium)
Add clockworkpi to apt source list
see https://github.com/clockworkpi/apt/tree/main/debian
wget -O - https://raw.githubusercontent.com/clockworkpi/apt/main/debian/KEY.gpg | sudo apt-key add -
echo "deb https://raw.githubusercontent.com/clockworkpi/apt/main/debian/ stable main" | sudo tee -a /etc/apt/sources.list.d/clockworkpi.list
Config xrandr
sudo bash -c 'cat << EOF > etc/X11/Xsession.d/100custom_xrandr
xrandr --output DSI-1 --rotate right
EOF'
Config lightdm
in /etc/lightdm/lightdm.conf
greeter-setup-script=/etc/lightdm/setup.sh
setup.sh
#!/bin/bash
xrandr --output DSI-1 --rotate right
exit 0
sudo chmod +x etc/lightdm/setup.sh
Modify /etc/dphys-swapfile
CONF_SWAPSIZE=512
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
Modify the desktop_bg color to #202020
config.txt
Add dtparam=audio=on to solve the problem of no sound card under HDMI
/etc/hostname to clockworkpi
/boot/cmdline.txt ,add fbcon=rotate:1, remove quiet
Image download url
https://forum.clockworkpi.com/t/devterm-os-cm3-image-files/7151/1