-
Notifications
You must be signed in to change notification settings - Fork 68
Devterm CM3 rpi os image
GNU edited this page Sep 26, 2021
·
6 revisions
- screen rotation for xrandr,fbcon,lightdm
- Remove the wallpaper and change the solid color #202020
- Install all rpi-related debs in the 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)
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
sudo bash -c 'cat << EOF > etc/X11/Xsession.d/100custom_xrandr
xrandr --output DSI-1 --rotate right
EOF'
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
CONF_SWAPSIZE=512
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
Add dtparam=audio=on
to solve the problem of no sound card under HDMI
https://forum.clockworkpi.com/t/devterm-os-cm3-image-files/7151/1