Screen Capture

lqth – minimal X11 screenshot utility

lqth is a small screenshot utility for X11, inspired by xscreenshot and designed around a minimal command-line interface. It concentrates on extracting image data from an X display without bundling a graphical screenshot editor or extensive desktop integration.

Unlike screenshot utilities that directly save PNG or JPEG files, lqth writes Farbfeld image data to standard output. This makes it particularly suitable for shell pipelines and tools that can convert Farbfeld into more widely used image formats.

The project also provides a Rust library, but its standalone command-line program allows screenshots to be taken without writing application code. It is aimed at users who prefer to assemble screen capture workflows from small, specialised utilities.

This is free and open source software.

Key Features

  • Captures an entire X11 screen by default, writing image data directly to standard output.
  • Allows capture of a specific window by X window identifier, including the active window obtained with xdotool.
  • Supports a specified rectangular screenshot region, making it usable alongside tools such as xrectsel.
  • Selects an X display explicitly when capturing from a non-default X server.
  • Supports screen selection in multi-screen X11 configurations.
  • Uses the Farbfeld image format, which can be converted using ff2png or ff2jpg.
  • Allows screenshot data to be piped to image converters and then copied to an X11 clipboard with xclip.
  • Depends on libX11, without a need for a graphical application window.
  • Provides a Rust crate for developers who want to integrate its image capture functionality into other software.
  • Does not provide native Wayland screenshot capture.

Website: github.com/0x61nas/lqth
Support:
Developer: Anas Elgarhy
License: MIT License

lqth help

lqth 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
lqthSimple but fast screenshot utility inspired by xscreenshot

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