Usage: grim [options...] [output-file] -h Show help message and quit. -s Set the output image scale factor. Defaults to the greatest output scale factor. -g Set the region to capture. -t png|ppm|jpeg Set the output filetype. Defaults to png. -q Set the JPEG filetype quality 0-100. Defaults to 80. -l Set the PNG filetype compression level 0-9. Defaults to 6. -o Set the output name to capture. -T Set the identifier of a foreign toplevel handle to capture. -c Include cursors in the screenshot.