grim is a command-line utility to take screenshots of Wayland desktops.
It currently needs support for the screencopy protocol to work. Support for the xdg-output protocol is optional, but improves fractional scaling support.
grim will write an image to _output-file_, or to a timestamped file name in *$GRIM_DEFAULT_DIR* if not specified. If *$GRIM_DEFAULT_DIR* is not set, it falls back first to *$XDG_PICTURES_DIR* and then to the current working directory. If _output-file_ is *-*, grim will write the image to the standard output instead.
This is free and open source software.
Website: gitlab.freedesktop.org/emersion/grim
Support:
Developer: emersion
License: MIT License

grim is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| CLI Screen Capture Tools | |
|---|---|
| maim | Make Image aims to improve on scrot |
| scrot | SCReenshOT is a simple command line screen capture utility |
| slop | Queries for a selection from the user and prints the region to stdout |
| wayshot | Screenshot tool for wayland compositors |
| termframe | Terminal output SVG screenshot tool |
| grim | Utility to take screenshots of Wayland desktops |
| shotman | Uncompromising screenshot tool for Wayland compositors |
| shotgun | Minimal screenshot utility |
| ImageMagick | Create, edit, and compose bitmap images |
| HyprCap | Capture screenshots and screen recordings on Hyprland |
| lqth | Simple but fast screenshot utility inspired by xscreenshot |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

