Forrest logo
tool overview
On this page you find all important commands for the CLI tool grim. If the command you are looking for is missing please ask our AI.

grim

Grim is a command-line tool used for capturing screenshots on Linux systems. It is a part of the wlroots project and primarily designed for use in the Wayland display protocol. The tool allows users to take screenshots of individual windows or the entire screen.

With Grim, the captured screenshots are saved in the Portable Network Graphics (PNG) file format. It supports capturing output from both the X11 and Wayland display servers, making it versatile for different setups. Grim utilizes the Sway IPC (Inter-Process Communication) protocol to communicate with its companion tool, called Slurp, which aids in selecting windows or regions to capture.

One of the notable features of Grim is that it supports capturing the windows of visibly hidden or off-screen applications, which is useful in certain scenarios. It also provides options to capture only a specific region of the screen, allowing for selective screenshot-capture.

Grim integrates with various third-party image editing tools, aiding users in further processing their screenshots. It is compatible with popular image processing software like ImageMagick or GIMP.

Being a command-line tool, Grim enjoys the advantages of easy and efficient automation through scripting. It also provides flexibility in terms of keybindings, as users can assign custom commands to capture screenshots conveniently.

Grim is continually maintained and developed alongside the wlroots project, ensuring a reliable and up-to-date tool for capturing screenshots on Linux in a Wayland environment.

List of commands for grim:

tool overview