Screen Capture

hotgun – minimal screenshot utility for X11

shotgun is a lightweight command-line screenshot utility for X11. Its developer created it as a more minimal alternative to maim, focusing on capturing an image quickly rather than incorporating a built-in graphical selection interface.

The program is suited to window-manager key bindings and shell scripts. It can capture the screen or use geometry and window information obtained from a separate selection tool. Output can be written to a file or passed directly to another application for clipboard handling or image conversion.

This is free and open source software.

Key Features

  • Captures screenshots from an X11 display without requiring a separate graphical screenshot interface.
  • Exports images as PNG or uncompressed PAM, with PAM useful when a pipeline needs to avoid PNG encoding overhead.
  • Writes screenshots to a named file or directly to standard output for processing by another program.
  • Accepts a window ID to capture a particular application window.
  • Accepts explicit width, height, and screen coordinates for capturing a defined region.
  • Includes an option to capture the current X11 screen.
  • Masks off-screen areas on multi-monitor desktops.
  • Uses timestamp-based filenames when no output path is supplied.
  • Works with standalone region selectors such as slop or hacksaw, which can supply the required window ID or geometry.
  • The developer’s published benchmark reported faster PNG capture than maim in the tested configuration; performance will depend on the system and image format.

Website: github.com/neXromancers/shotgun
Support:
Developer: novenary
License: Mozilla Public License v2.0

Options for shotgun

shotgun is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

CLI Screen Capture Tools
maimMake Image aims to improve on scrot
scrotSCReenshOT is a simple command line screen capture utility
slopQueries for a selection from the user and prints the region to stdout
wayshotScreenshot tool for wayland compositors
termframeTerminal output SVG screenshot tool
grimUtility to take screenshots of Wayland desktops
shotmanUncompromising screenshot tool for Wayland compositors
shotgunMinimal screenshot utility
ImageMagickCreate, edit, and compose bitmap images
HyprCapCapture screenshots and screen recordings on Hyprland
grimblastCapture windows, selected areas, and screens on Hyprland
lqthSimple but fast screenshot utility inspired by xscreenshot
grimshotCapture windows, selected areas, and screens under Sway

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted