grim
Grab images (Screenshots) from a Wayland compositor. More information: https://sr.ht/~emersion/grim.
-
Screenshot all outputs:
grim
-
Screenshot a specific output:
grim -o {{path/to/output_file}}
-
Screenshot a specific region:
grim -g "{{<x_position>,<y_position> <width>x<height>}}"
-
Select a specific region and screenshot it, (using slurp):
grim -g "{{$(slurp)}}"
-
Use a custom filename:
grim "{{path/to/file.png}}"
-
Screenshot and copy to clipboard:
grim - | {{clipboard_manager}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.