Skip to content

Instantly share code, notes, and snippets.

PyQt6 application without X11 as of 2025

On RPi OS (Bookworm) as of 2025. Configured with raspi-config to boot into a terminal rather than the desktop.

Trying to run PyQt6 application on the bare minimum software stack. This is the application, hello.py:

#!/usr/bin/env python3

import sys

Badge Engineering

TV sets which all share the string "Es gab keinen Betrieb für längere Zeit. Herunterfahren?"

  • Hitachi
  • Thomson
  • Samsung
  • Panasonic
  • Medion

YD-RP2040 by VCC-GND Studio

Advantages over the Raspberry Pi Pico:

  • Inexpensive
  • 16 MB variant available
  • Added PWR power LED
  • The USB interface was changed to type-C USB
  • Added reset button to facilitate reset operation and firmware update operation
  • Added the USRkey user button (GPIO24)
  • Added RGB lights (GPIO23)

smart 12 V battery

Original

Original smart battery A 451 982 00 08 is rated 12V 42Ah RC. 50 min 12,5 kg 340A (EN) 320A (SAE/GS) Made in SPAIN.

image

image

Debloating Android 14 (2024)

Even though technically "open source", Android as of 2024 out of the box is practically forcing users into Google services. To the point that Google has more raw access to the data than the user (who is not root by default while Google practically is).

While it is possible to start using Android 14 on Motorola devices without a Google account, an absolutely insane, never ending stream of nag notifications appear, urging the user to activate Google Play Services.

Especially "Android-Einrichtung", "Google Persönliche Sicherheit" and "Digital Wellbeing" are nagging all the time.

The following instructions work entirely on the phone without the need for a desktop computer.

tp-link Tapo TC70

This is the no-frills description for the stuff that really matters.

Tapo TC70 is pan-and-tilt (PTZ) camera.

TC70(EU) Ver 3.20 is sold as of Mid-2024 for 30 EUR in retail stores in Germany. This page is about this version. Earlier versions of the C200 used a Realtek SoC, completely different hardware.

Connectivity

The sad state of radio controlled alarm clocks in Germany as of 2024

There used to be high-quality German radio controlled alarm clocks from brands like JUNGHANS, using frog design. Which didn't fall over when you touched it.

image

Why is there not one quality product with great design on the market anymore, just super cheap looking products imported from Asia and sold by companies that are not well known household brands?

Today the only radio controlled alarm clocks seem to come from Asia, probably designed there as well. Sold under no or dead brands.

Wayland transition notes for X11 users

Please comment below to contribute. Thanks!

X11 concept Wayland concept Notes
"Window" "Top-level Shell Surface" An entire window, including window decorations
X11 (the specfication) Wayland (the protocols) Neither X11 nor Wayland are binaries that can be installed
Xorg, one universally shared default implementation Multiple competing Wayland compositors Unfortunately there is no universally used single Wayland compositor; apparently every desktop environment does its own, and as a result what works in one may not work in another
export DISPLAY=... export WAYLAND_DISPLAY=... How to know which WAYLAND_DISPLAY one needs to export? The sockets (and their names) should be located in /run/user/*. If WAYLAND_SOCKET is detected, the client will prefer to use the socket provided using that environment variable.