Skip to content

Instantly share code, notes, and snippets.

View generic-internet-user's full-sized avatar

generic-internet-user

View GitHub Profile
@fat0troll
fat0troll / raspberry-pi-cryptsetup-btrfs.md
Last active October 20, 2025 21:38
Raspberry Pi Encrypted Root Partition + btrfs Headless Setup Guide

This is a step-by-step guide for making your Raspberry Pi 5 more secure and powerful by using encrypted rootfs and btrfs. It is highly recommended to use NVME drive as a boot device for this setup to work properly. Installing NVME drive as a boot partition and enabling SSH autostart is outside of the scope of this guide. This guide is inspired by this AskUbuntu! answer and this btrfs guide.

This method of installation is completely headless, but can also be performed on the device itself.

All commands in this guide are executed from root account (aka with sudo).

Don't forget to make a backup of your system BEFORE attempting any changes. It is highly recommented to do this conversion after the initial install of Raspberry Pi OS, before adding any new data to the system, in case something

@generic-internet-user
generic-internet-user / wlcursor.md
Last active June 19, 2025 02:40
Wayland Cursor Lag

Wayland Cursor Lag: Just give me a break already...

I no longer consider any of this to be valid, and consider this entire adventure so far to have been intellectually dishonest and filled with questionable assumptions about everything, so, please, if you're reading this and got linked here, stop reading this and tell whoever linked you here to shut the f**k up already.

UPDATE: This (and, therefore, the promised bug reports) has been put on hold until I get around to getting actual evidence with the herein-mentioned RPi Pico + photoresistor setup, which is itself "delayed until further notice" because I simply have better and more important stuff to do[^1] right now.

UPDATE 2: Some madlad actually did it, only for GNOME though but that's still amazing

*UPDATE 3: Apparently, it's like this on purpose, at least