Minimal screenshot/print screen program for X11
The output format is ppm. Conversion to your favourite format can be done using your favourite image converter (e.g. ffmpeg).
Inspired/Modified from sxot (https://codeberg.org/NRK/sxot).
$ xprtsc$ xprtsc > file.ppm$ xprtsc | ffmpeg -i - file.png