Skip to content
Search

Maim

lastmod 2020-11-09created 2020-11-095 edits

maim (Make Image) is a utility that takes screenshots of your desktop. It's meant to overcome shortcomings of scrot and performs better in several ways.

Features

  • Takes screenshots of your desktop, and saves it in png, jpg, or bmp format.
  • Takes screenshots predetermined regions or windows, useful for automation.
  • Allows a users to select a region, or window, before taking a screenshot on the fly.

How to install

ArchLinux:

$ sudo pacman -S maim

Example

To select part of the screen and save it to the clipboard, you can use xclip.

$ maim -s -u | xclip -selection clipboard -t image/png -i

Troubleshooting

Failed to detect a compositor

The following error may be printed.

Failed to detect a compositor, OpenGL hardware-accelleration disabled...

Install and run picom.

See also

Favorite site

author Zer0 sitemap