grim

Grab images (Screenshots) from a Wayland compositor. More information: <https://sr.ht/~emersion/grim>.

Install

All systems
curl cmd.cat/grim.sh
Debian Debian
apt-get install grim
Ubuntu
apt-get install grim
Arch Arch Linux
pacman -S grim
image/svg+xml Kali Linux
apt-get install grim
Windows (WSL2)
sudo apt-get update sudo apt-get install 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

© tl;dr; authors and contributors