Skip to main content

Snipux

Snip, annotate and record your screen — a Snipping Tool workalike for Linux and Windows.

Snip an area, a window, a freehand shape, or the whole screen. Draw on it, blur out the parts that shouldn't be shared, and copy or save it. Or record the same region to a video file and trim it down. The workflow Windows gives you for free, on Linux too — and a slightly better one back on Windows.

MIT licensed, and installed with pip install snipux — see Install. There is no Windows installer: that is deliberate, and explained where it'd be missed.

Platform support

Platform State How it captures
Linux (Ubuntu 22.04+, GNOME) Supported Wayland via xdg-desktop-portal; X11 directly. Session type detected at runtime, never assumed.
Windows (10 2004+ / 11) Supported Qt's QScreenCapture, plus Win32 for the hotkey and shortcuts.
macOS Not yet The platform seam exists; nothing behind it is implemented. Every operation raises UnimplementedPlatformError.

Linux is tested against Ubuntu with GNOME. Other desktops are expected to work for snipping but are not what the tool is tested against — and recording on Linux is GNOME-only (see Recording).

Why

Linux has capable screenshot tools, but the Ubuntu/GNOME/Wayland combination is where most of them get awkward — Wayland deliberately forbids applications from reading the screen whenever they like, so every capture has to go through a permission broker, and the tools that predate that constraint fight it. Snipux treats it as the primary target rather than an afterthought.

How it works

Capture the entire virtual desktop in a single shot, then run selection against that frozen frame in our own overlay. The compositor is involved for exactly one instant, which is what lets the same code path behave identically on X11 and Wayland — and what made the Windows port a backend swap rather than a rewrite. Everything downstream — region select, annotation, export — is ordinary drawing on an image already held in memory.

Recording rides the same rule: the frozen frame is still how you choose, and recording starts once you have chosen. The compositor is never involved while you are dragging.

Install

Linux

First, the things Ubuntu may not already have — pipx, git (which pipx shells out to for the install below), and one library Qt needs that nothing else on a stock desktop pulls in:

sudo apt install pipx git libxcb-cursor0
pipx ensurepath      # only needed once, and only if pipx was just installed

libxcb-cursor0 is not optional: without it Snipux installs cleanly and then crashes on launch, behind four lines of Qt plugin text that name the library but not the package. Then:

pipx install git+https://github.com/CydoEntis/snipux.git
snipux --setup
snipux &

pipx gives Snipux and its dependencies their own isolated environment and puts a snipux launcher on PATH. --setup writes the pieces pipx can't — the .desktop entry, the autostart entry, and the GNOME shortcut — and is safe to re-run.

The third line is not optional the first time. The shortcut runs snipux --snip, which needs a resident Snipux to talk to, and --setup only writes the autostart entry — it doesn't start anything. Without it the key you just bound does nothing until your next login. (packaging/install.sh does this step for you, which is why it isn't mentioned there.)

That's it — press Ctrl+Alt+S.

Prefer SSH, or contributing rather than just using it?

pipx install git+ssh://git@github.com/CydoEntis/snipux.git

From a clone instead. packaging/install.sh does the same job without pipx — it builds a virtual environment under ~/.local/share/snipux/venv, installs into it, drops a launcher in ~/.local/bin, runs --setup, and starts the app. It checks for the python3-venv and libxcb-cursor0 prerequisites first and names the package to install if either is missing:

git clone https://github.com/CydoEntis/snipux.git
cd snipux
./packaging/install.sh

Windows

The one prerequisite is Python 3.10+ — tick "Add python.exe to PATH" in the installer. Nothing else: no Git, no pipx, no file to download by hand.

Then, in PowerShell:

py -m pip install snipux
py -m snipux

The first line takes a few minutes because it pulls down Qt. The second starts Snipux.

The first launch sets itself up: a Start Menu shortcut, a Startup entry so it is running after every login, and the Ctrl+Alt+S shortcut. After that, Ctrl+Alt+S is all anyone needs — no terminal again.

snipux --setup does the same thing explicitly, but is not a step to hand anyone: it is for redoing the integration after a move. AppController.run_first_launch_setup already runs it the first time the app is ever the resident instance.

Snipux has to actually be running for the hotkey to do anything. Unlike GNOME's shortcut on Linux, which the desktop itself owns, Windows' hotkey is a registration the Snipux process holds only while it's alive. That's what autostart is for: the Startup entry means Snipux is already running by the time you'd want to press the shortcut, from the next login onward. The first time, start it yourself with the second command above.

Nothing here trips Smart App Control or SmartScreen, which is the point. Both react to unrecognised executables; this is Python source installed by the python.exe the user already trusts. An earlier version shipped an Inno Setup installer and Smart App Control blocked it outright — the message read like the file was corrupt rather than like a policy decision, and unlike SmartScreen there was no "More info → Run anyway" to click through. Full reasoning in docs/releasing.md.

Updating

snipux --update

If that answers 'snipux' is not recognized, use:

py -m snipux --update

Then quit Snipux from the tray and press Ctrl+Alt+S to start the new one.

Why two. Neither form works everywhere, because it depends on how Snipux was installed, and the same machine cannot tell you which:

Installed with snipux --update py -m snipux --update
py -m pip install … (this README) only if Python's Scripts folder is on PATH ✅
pipx install … (an older README) ✅ ❌ No module named snipux

pipx puts Snipux in an environment of its own and a launcher on PATH, so the bare command works and py -m cannot see it at all — py runs the system Python, which has no Snipux in it. A plain pip install is the other way round. Try the bare command first, since it is shorter and covers the older instructions people may already have followed.

Installed with pipx? There is nothing to undo. pipx upgrade is the cleanest route for those installs, and it needs no reinstalling and no uninstalling first:

pipx upgrade snipux

The original pipx install git+https://github.com/CydoEntis/snipux.git recorded that URL, and it tracks the default branch — so upgrading refetches main and lands the same code the instructions above install. There is no reason to switch a working pipx install over to pip, and doing so without uninstalling first leaves two copies fighting over one Ctrl+Alt+S registration and two Startup entries.

Either way --update runs exactly this on their behalf — it is not a second update mechanism, just the same one without a command to keep somewhere findable:

py -m pip install --upgrade snipux

Nothing else to run: the shortcut and hotkey point at a location that does not change between versions.

Check it worked: tray → Settings, bottom-left, e.g. Snipux 0.2.0 / Qt 6.11.0 · Windows.

--upgrade compares versions, so every release needs a new version number in pyproject.toml. Left the same, pip decides the requirement is already satisfied and changes nothing — no error — so a fixed build published under an old number is a silent no-op and the bug gets reported a second time. .github/workflows/release.yml refuses to publish a tag whose number disagrees with pyproject.toml, which is the half of this a person can get wrong. (--force-reinstall overrides the comparison, but it also re-downloads Qt, so it is not what to tell people.)

There is no update check. Snipux never phones home, so nobody is told a new version exists — they update when they choose to. One is buildable now that this repository is public: api.github.com/repos/CydoEntis/snipux/releases/latest answers an unauthenticated request, and comparing that tag against importlib.metadata.version("snipux") is the whole of the logic. What it needs first is tagged releases to compare against.

Installing a specific version, or offline

Any published version installs by name:

py -m pip install snipux==0.5.0

An unreleased commit still installs from this repository directly:

py -m pip install https://github.com/CydoEntis/snipux/archive/refs/heads/main.tar.gz

For a machine with no network, or to pin exactly what someone runs, build a wheel and hand them the file instead:

python -m build --wheel

That writes dist/snipux-<version>-py3-none-any.whl, which installs the same way — py -m pip install snipux-0.2.0-py3-none-any.whl.

The shortcut

The default is Ctrl+Alt+S on both platforms.

Not Win+Shift+S, the combination the Windows Snipping Tool uses: Windows won't hand that to a second application — RegisterHotKey refuses it — so Snipux would have needed a different key on Windows regardless. One combination on both platforms beats two. See docs/gnome-shortcut.md.

Using a different shortcut

snipux --setup --shortcut 'Super+Shift+X'

Either spelling is accepted — the readable Super+Shift+X or gsettings' <Super><Shift>x — since both normalise to the same thing. 'Print' and 'F9' work too. Anything that isn't a shortcut is rejected with an explanation rather than bound and silently ignored.

The choice is remembered in ~/.config/snipux/config.json, so later --setup runs — including the one packaging/install.sh performs on every install — keep it instead of reverting to the default. snipux --remove deletes it along with everything else --setup wrote.

Or set it from tray → Settings…, which records the combination you press rather than making you spell out any syntax, and warns you if GNOME already uses it. That warning only sees GNOME's own shortcuts — an application that grabs a key directly owns it just as effectively and can't be detected, so "No GNOME shortcut uses this" is not a promise the key is free.

No tray icon? snipux --settings opens the same window.

Using Snipux

Snipux runs resident in the background (with a tray icon, where one is available) so the shortcut reaches an already-warm process instead of paying startup cost on every snip.

  1. Press Ctrl+Alt+S. The whole virtual desktop freezes into a full-screen overlay. This single frozen frame is what selection and annotation both work against, which is why the flow is identical on Wayland and X11.
  2. Choose what to capture, and what happens to it. A row docked at the top of the screen carries both: a capture mode, and a destination.
  3. Drag. Or, in Window mode, hover — the window under the cursor is outlined and named — and click to accept it.
  4. Annotate in place, directly on the frozen desktop; there's no separate editor window. You can keep reframing as you go: drag any edge or corner of the selection and the ink you've already drawn stays exactly where it was drawn, over the same pixels, instead of moving with the selection or getting clipped away.
  5. Copy or save from the bar that appears under the selection.

Capture modes

Mode What it captures
Region Any rectangle you drag
Window One application's window
Full screen The whole monitor you are on — not every monitor
Freeform A shape you draw by hand

Freeform is stills-only; video is rectangular.

What happens after a snip

Set per-capture from the chooser row, or as a default in Settings:

Destination What it does
Capture and finish Straight to the clipboard the moment the selection is made — no overlay, no toolbar, nothing to dismiss
Capture and annotate The frozen frame stays up with the tools on it. Copy or save when you're done. (default)
Capture and review Opens the review window afterwards, which annotates too

The review window

Copy and Save both dismiss the overlay immediately, so a snip saved to the wrong place — or copied when you meant to save — means taking the capture again. The review window is the answer: the image, where it went, and Copy / Save As… / Show in Folder.

Press Annotate and it reveals the overlay's own floating bar over the image — the same widget, the same tools, the same mark model, so there is no second tool set to drift. The only differences are that there's no capture-mode chip (nothing left to capture) and the bar's trailing action is Done, since the footer already owns Copy and Save As.

Marks made here live in image coordinates rather than screen coordinates, so they survive zooming and export exactly where they looked. Several snips in a row leave several windows open.

Recording

Switch the chooser row from snipping to recording and the same selection you'd have screenshotted becomes the thing that gets filmed. Region, Window and Full screen all record; Freeform does not.

Committing a selection arms a recording rather than starting one, so you can still reframe it with the handles. One pill carries the whole thing and its label always names what a click does — "Start recording", "Cancel · 3", "Stop · 0:12" — sitting top-centre of the monitor being recorded, moving out of the way only when the recording covers that strip. An optional 3s / 5s / 10s delay shows as a countdown numeral inside the region.

Window mode films where the window is right now. It does not follow a window that moves mid-recording; there's no window-following in the API to build it on.

What you get, per platform:

Linux (GNOME) Windows
Container WebM — GNOME Shell picks it, not us MP4
Audio No — org.gnome.Shell.Screencast has no audio option to pass Yes
Frame rate Up to 30fps ~30fps ceiling (QScreenCapture exposes no rate control)

Recording on Linux is GNOME-only. The route is org.gnome.Shell.Screencast over D-Bus. QScreenCapture does not work under Wayland at all, so there is no fallback for other desktops. Snipping works everywhere; recording does not. snipux --list-backends tells you which of the two this machine can do.

Where a recording goes

Set the same way as a snip's destination:

Destination What it does
Copy to the clipboard The video goes to the clipboard as a file reference and the file is deleted. Paste it somewhere that accepts a file. (default)
Save to a folder Moved into your recordings folder
Open in the player Saved as above, then opened in the trim editor

The player

The Open destination's other half: playback, a rail with a decoded filmstrip and a real waveform, in/out handles with a plain-language readout, and export.

Key What it does
Space Play / pause
I Set the start at the playhead
O Set the end at the playhead
← / → Previous / next frame
M Mute — drops the audio track on export
L Loop the trimmed range
Esc Close an open menu

Export formats:

Format Notes
WebM What was recorded — no re-encode when untrimmed
MP4 (H.264) Plays anywhere. Slack, Teams, browsers. (default)
GIF Silent, loops. Big above ~10 seconds.
Current frame as PNG Just the frame under the playhead

Trimming re-encodes; the untrimmed original stays at its own path until you overwrite it.

About ffmpeg

Snipux does not depend on ffmpeg, does not bundle it, and never installs it. But if one is already on your PATH, the player uses it — because Qt's bundled FFmpeg is an LGPL build with no software x264, so it cannot encode H.264 in software at all.

With a system ffmpeg, all four export formats work. Without one, MP4 degrades to MPEG-4 Part 2 and the row says so, while GIF and trimmed WebM grey out with their reason. Every export still works, one codec down. Nothing is hidden from you either way.

Tools and shortcuts

Key Tool What it does
P Pen Drag to draw freehand
H Highlighter Sweep over the line that matters
A Arrow Drag from tail to head
R Rectangle Drag to box something in. Its button opens a popover with three more shapes that share its colour/stroke tray: Ellipse, Line, and Crop
S Step Click to drop the next numbered marker
T Text Click, then type into the label
B Blur Drag over anything private to obscure it
E Eraser Click a mark to remove it
Ctrl+Z / Ctrl+Shift+Z — Undo / redo
Enter — Copy the annotated snip to the clipboard and close the overlay
Esc — First press discards all ink and leaves the overlay open; press again (once there's nothing left to discard) to close without capturing
? — Toggle the on-screen shortcut hint bar

Colour and stroke width are chosen from the tray that appears once a drawing tool is selected — the eraser has none. Tool shortcuts and Enter are suppressed while a text label or a slider has keyboard focus; Esc and undo/redo always work regardless.

Where files go

Folder Default filename
Snips ~/Pictures/snipux Screenshot from YYYY-MM-DD HH-MM-SS.png
Recordings ~/Videos/snipux Recording from YYYY-MM-DD HH-MM-SS.webm

Both directories are created if they don't exist yet, and a toast confirms the path each time. The folder and filename pattern are both configurable in Settings.

Command reference

Command What it does
snipux Start the resident/tray instance (or forward a snip request to one already running)
snipux --snip Ask the running instance to start a capture, starting one first if needed. This is what the shortcut runs
snipux --settings Open Settings — the way in on a machine with no tray icon
snipux --setup Install desktop integration. Safe to re-run
snipux --setup --shortcut '…' Same, binding a specific accelerator and remembering it
snipux --remove Undo everything --setup wrote
snipux --update Fetch and install the newest Snipux from GitHub, then say what to restart. py -m snipux --update is the same thing where PATH has no snipux on it
snipux --list-backends Print every capture and recording backend, its availability, and why the unavailable ones aren't

Uninstall

Run snipux --remove first, so the desktop entry, the autostart entry, the installed icons and the bound shortcut all go with it. Then remove the package the way it was installed.

Installed with pipx:

snipux --remove
pipx uninstall snipux

Installed with pip:

py -m snipux --remove
py -m pip uninstall snipux

If you are unsure which you have, pipx list and py -m pip show snipux answer it — and if both do, you have two copies, which is worth fixing: they fight over one Ctrl+Alt+S registration, and whichever loses simply never answers the shortcut. Remove one of them.

Uninstalling only removes the installed package — it has no idea --setup also wrote files outside it, so skipping --remove first leaves an autostart entry pointing at a binary that no longer exists, a dead keyboard shortcut, and a ghost entry in your application list. --remove only ever splices its own custom-keybinding slot out of GNOME's list, so any other shortcuts you've set up by hand are left alone. Safe to re-run, same as --setup.

On Windows, snipux --remove also removes the copy of itself it relocated into %LocalAppData%\snipux on first run.

Troubleshooting

No tray icon. Stock Ubuntu/GNOME ships no legacy tray icon support at all unless the AppIndicator and KStatusNotifierItem Support GNOME Shell extension is installed and enabled. Without it, Snipux still runs and still answers the shortcut — it just prints a notice to stdout on startup and has no tray icon or Quit menu item. Use snipux --settings to reach Settings, and kill the process to quit. Install the extension if you want the icon and menu back.

Capture fails, or a permission prompt appears every time. On Wayland, capture goes through xdg-desktop-portal, which owns the permission prompt itself. If a capture reports the request was cancelled, press the shortcut again and approve the prompt when it appears. If it instead reports the request failed outright, check that xdg-desktop-portal and a desktop-appropriate portal backend (e.g. xdg-desktop-portal-gnome) are installed and running — Snipux can't get pixels if the portal that owns them refuses, or isn't there at all.

Recording is unavailable. snipux --list-backends answers this directly: capture and recording are separate registries with separate answers. On Linux, recording needs GNOME Shell — see Recording.

No module named snipux when updating. py runs the system Python, and Snipux is not installed in it — which is normal if it was installed with pipx, whose whole job is to keep it in an environment of its own. Use the bare command instead:

snipux --update

If neither that nor py -m snipux --update works, nothing is installed where either can see it. pipx list says whether pipx has it; py -m pip show snipux says whether the system Python does. Install per Windows above and both will work.

'snipux' is not recognized. The opposite case: it is installed in the system Python, but that Python's Scripts folder is not on PATH. Use py -m snipux --update, which does not need PATH at all. (Re-running the Python installer and ticking "Add python.exe to PATH" fixes it properly.)

Nothing happens when I press the shortcut. Check snipux --snip works when run by hand from a terminal. On Windows, check Snipux is actually running: the hotkey is a registration the process holds, and Windows releases it the moment the process exits.

What hasn't been tested yet

Development has happened on Windows and in an Ubuntu VM. These are believed to work from the design but haven't been verified on real hardware:

  • Fractional display scaling on a real machine at 1.25× — the test suite is kept green at 1.0× and 1.5×
  • X11 sessions end to end — the D-Bus recording route works, but the overlay and capture path under a real X11 session remain less exercised than Wayland
  • Pasting into a file manager or chat app — the clipboard mime data is verified correct on the wire, but nobody has watched a paste land
  • macOS, entirely

If one of these is where something goes wrong, that's a known gap, not a mystery.

Requirements

  • Python 3.10+ (not needed for the Windows .exe)
  • PyQt6 6.8+ and jeepney — installed automatically
  • libxcb-cursor0 on Linux (sudo apt install libxcb-cursor0). Qt 6.5+ needs it to load its xcb platform plugin, and nothing else on a stock Ubuntu desktop pulls it in. Without it Snipux installs cleanly and then crashes on launch; packaging/install.sh checks for it before doing anything.
  • python3-venv on Debian/Ubuntu if you use packaging/install.sh
  • Ubuntu 22.04+ (Wayland or X11), or Windows 10 2004+ / 11
  • ffmpeg — genuinely optional, never installed. See About ffmpeg.

Development

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

QT_QPA_PLATFORM=offscreen python -m pytest -q     # the verify step
python -m snipux                                  # run it

Tests must pass headless — a build machine has no display. QWidget.grab() runs a full paintEvent into an offscreen pixmap without showing anything, and that's the preferred way to test painting code.

CLAUDE.md is the working guide to the codebase: the one architectural rule, the module layout, and the conventions. docs/design/ holds the locked design handoffs, each with a divergences.md recording what was built differently and why — read those before "fixing" anything back to a handoff.

Contributing

Issues and pull requests are welcome. Please read CONTRIBUTING.md first — it's short, and it covers the two things that matter most here: the architectural rule that isn't negotiable, and why a green test suite is weaker evidence in this codebase than you'd expect.

Licence

MIT — see LICENSE.

Release files for snipux 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snipux 0.6.0
File Size Uploaded
snipux-0.6.0.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for snipux 0.6.0
File Interpreter ABI Platform
snipux-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 MB

Release files / snipux-0.6.0.tar.gz

Download URL snipux-0.6.0.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
377541750506f66d5699ae8b41d4b7f20831f6b2025dd452795176f42f771b62
BLAKE2b-256 checksum
How to use checksums
3a512cf6a23f392212adf9437c9b76e7a043932c1163994d7152d0b5b55363ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / snipux-0.6.0-py3-none-any.whl

Download URL snipux-0.6.0-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3e3715bed321cd19067d2ed71c5ce946108d504f4c955149db4db8c522d899b1
BLAKE2b-256 checksum
How to use checksums
a11799feeb5d5cfc1f681bf2ccda41b9ba29affbea168ff21555b9f7887ef664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

This release

0.6.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page