Capture screenshots in Raspberry Pi OS (bookworm)/Wayland


 grim is a Linux utility to grab images from Wayland compositor, it's pre-installed in Raspberry Pi OS (bookworm).

$ grim
To capture screenshot after a certain time; such as seconds:
$ sleep 5 && grim
To capture mouse cursor, add the -c option:
$ sleep 5 && grim -c


Comments

Popular posts from this blog

480x320 TFT/ILI9488 SPI wih EP32C3 (arduino-esp32) using Arduino_GFX Library

MicroPython/ESP32-C3 + 1.8" 128x160 TFT ST7735 SPI, using boochow/MicroPython-ST7735 library.