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

Drive ST7796 SPI TFT with XPT2046 Touch on ESP32-C3-DevKitM-1 (arduino-esp32), using TFT_eSPI.