System Grab Bag

View all TLDR pages from Linux (or from all pages)

maim

Screenshot utility. More information: https://github.com/naelstrof/maim.
  • Capture a screenshot and save it to the given path:
    maim {{path/to/screenshot.png}}
  • Capture a screenshot of the selected region:
    maim --select {{path/to/screenshot.png}}
  • Capture a screenshot of the selected region and save it in the clipboard (requires xclip):
    maim --select | xclip -selection clipboard -target image/png
  • Capture a screenshot of the current active window (requires xdotool):
    maim --window $(xdotool getactivewindow) {{path/to/screenshot.png}}

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.