CmdID

CmdID / Commands

grim

Grab images (screenshots) from a Wayland compositor. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Grab images (screenshots) from a Wayland compositor. By default, files are saved to $GRIM_DEFAULT_DIR or $XDG_PICTURES_DIR if the first variable is unset. If none of the environment variables are set, files are saved to the current working directory.

Screenshot all outputs to the default path

Screenshot a specific output to the specified file

grim -o DP-1 path/to/output.pngIdentify

Select a specific region using slurp and screenshot it

grim -g "$(slurp)" path/to/output.pngIdentify

Screenshot and copy the image to the clipboard

grim - | clipboard_managerIdentify

Set the output file type (default: png)

grim -t png path/to/output_fileIdentify

Set the PNG compression level (default: 6)

grim -l 0..9 path/to/output.pngIdentify

Set the JPEG quality level (default: 80)

grim -t jpeg -q 0..100 path/to/output.jpgIdentify

Include cursors in the screenshot

grim -cIdentify