#!/usr/bin/env python3 # Invisible mouse cursor: the TV only has a keyboard and the remote. Every # cursor name is a 1x1 transparent image; the compositor, the launcher and # Chromium all load cursors from this theme (XCURSOR_THEME in sf-session, and # "default"). Run as root by mkosi.postinst.chroot and image/pi/install.sh. import os, struct d = "/usr/share/icons/smartfox-blank/cursors" os.makedirs(d, exist_ok=True) img = struct.pack("<9I", 36, 0xFFFD0002, 24, 1, 1, 1, 0, 0, 0) + struct.pack("