Screenshot tool for Windows and Linux.
  • Rust 98.6%
  • Shell 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
bubblegum d742192976
All checks were successful
ci / linux-x86_64 (push) Successful in 4m11s
ci / linux-aarch64 (push) Successful in 3m11s
ci / windows-x86_64 (push) Successful in 2m15s
docs: rewrite readme with overlay and redaction screenshots
Follow the layout of well-kept project READMEs: one-line summary, a single hero
image, install table near the top, keyboard tables and a dedicated redaction
section with a before/after example. Screenshots come from the real overlay
over a staged desktop.
2026-11-17 09:02:29 +03:00
.forgejo/workflows ci: anonymous checkout, the repository is public 2026-11-12 08:58:14 +03:00
assets docs: rewrite readme with overlay and redaction screenshots 2026-11-17 09:02:29 +03:00
scripts Rustshot 1.0.0 2026-11-12 08:44:54 +03:00
src Rustshot 1.0.0 2026-11-12 08:44:54 +03:00
.gitattributes Rustshot 1.0.0 2026-11-12 08:44:54 +03:00
.gitignore Ignore local editor assistant files 2026-11-12 08:50:36 +03:00
build.rs Rustshot 1.0.0 2026-11-12 08:44:54 +03:00
Cargo.lock Rustshot 1.0.0 2026-11-12 08:44:54 +03:00
Cargo.toml Rustshot 1.0.0 2026-11-12 08:44:54 +03:00
LICENSE Initial commit 2026-11-12 05:41:20 +00:00
README.md docs: rewrite readme with overlay and redaction screenshots 2026-11-17 09:02:29 +03:00

Rustshot

A screenshot tool for Windows and Linux. Press PrtSc, select an area, mark it up, save or copy.

Download · Use · Redaction · Build

Rustshot overlay: a selected terminal log with a red box, an arrow, a text label, a highlighted line and a redacted key

Rustshot freezes the screen and lets you drag a selection over it. Pen, line, arrow, rectangle, ellipse, marker, text and blur work directly on the frozen image. What you see in the selection is exactly what ends up in the file.

Install

Platform File
Windows x86_64 rustshot-<version>-windows-x86_64.exe
Linux x86_64 rustshot-<version>-linux-x86_64.tar.gz
Linux aarch64 rustshot-<version>-linux-aarch64.tar.gz

Get them from the releases page. The Windows build is a single portable .exe. Nothing to install.

On first run Rustshot adds itself to your autostart, without admin rights: HKCU\Software\Microsoft\Windows\CurrentVersion\Run on Windows, ~/.config/autostart/rustshot.desktop on Linux. Turn it off in Options.

Use

Rustshot runs in the tray and listens for two hotkeys:

Key Action
PrtSc Select an area and annotate it
Shift+PrtSc Save the whole monitor to the last folder, without a dialog

Inside the overlay:

Key Action
Ctrl+C Copy the selection to the clipboard
Ctrl+S Save as PNG, JPEG or BMP
Ctrl+P Print
Ctrl+Z Undo the last shape
Ctrl+A Select the whole screen
Esc Close

Every action is also a command, so you can bind it anywhere else:

rustshot                    # tray and hotkeys
rustshot --capture          # open the selection overlay once
rustshot --save-fullscreen  # save the current monitor to the last folder
rustshot --options          # settings window

Redaction

The blur tool is for hiding things, not for looks. A Gaussian blur can be partly undone, and tools like Depix recover pixelated text by matching blocks against rendered fonts. Rustshot averages 12 pt blocks and adds random noise to each one, so there is nothing left to sharpen, deconvolve or match.

An API key in a terminal before redaction
The same line after redaction: the key is replaced by noisy blocks

Saved and copied images are flat pixels, so nothing under a shape survives in the file. The marker is see-through on purpose. To hide something, use blur or a filled shape.

Options

Rustshot Options window

Open Options from the tray menu, or run rustshot --options. The interface is in English or Russian. You can change both hotkeys, the default format and JPEG quality, and whether the overlay remembers the last selection.

Settings live in a plain TOML file:

  • Windows: %APPDATA%\rustshot\settings.toml
  • Linux: ~/.config/rustshot/settings.toml

Linux notes

  • Wayland has no global hotkeys. Bind rustshot --capture to a key in your desktop settings (GNOME: Settings → Keyboard → Custom Shortcuts). The first capture asks for screen-sharing permission through the desktop portal.
  • GNOME needs the "AppIndicator and KStatusNotifierItem Support" extension to show the tray icon. Hotkeys work without it.
  • Error and About dialogs use zenity.

On Windows 11, if PrtSc opens the Snipping Tool, turn off Settings → Accessibility → Keyboard → "Use the Print screen key to open screen capture".

Known limits

  • One monitor per capture: the one under the cursor on Windows, the primary one on Linux.
  • Cursor capture is Windows-only.
  • After Copy on Linux, the process stays in the background holding the clipboard until another app replaces it.

Build

Rust 1.89 or newer.

cargo build --release

On Debian or Ubuntu, install the system libraries first:

sudo apt-get install pkg-config libclang-dev libxcb1-dev libxrandr-dev libdbus-1-dev \
  libpipewire-0.3-dev libwayland-dev libegl-dev libgbm-dev

To cross-compile for Windows from Linux (build.rs embeds the icon with mingw windres):

rustup target add x86_64-pc-windows-gnu
sudo apt-get install gcc-mingw-w64-x86-64
cargo build --release --target x86_64-pc-windows-gnu

License

GPL-3.0