Screenshot annotation for Linux, built for agents.
Mark regions, number them, comment, and paste the image and your notes anywhere.
Show your agent what to change instead of describing it. One screenshot becomes a ready-to-send prompt.
| 1 · Capture | 2 · Mark | 3 · Prompt |
|---|---|---|
| Press Print Screen | Drag a region, type what should change | Enter copies; paste into your agent |
- 📸 Screenshot to prompt in seconds — no saving files, no switching apps, no retyping what's on screen.
- 🔢 Numbered instructions the agent can follow — every region gets a number and its comment ("1. Fix the header", "2. Align this button"), so each change points at an exact spot.
- 📝 Read as text, not guessed from pixels — pasting attaches the screenshot and a Markdown file with your numbered comments, so the agent gets your instructions word for word.
- 🎯 Send only what matters — right-drag to crop to the relevant part; multi-monitor captures auto-crop to your screen on KDE.
- 📋 Works beyond AI chats — the same copy holds PNG, numbered text and HTML, so issue trackers, docs and messengers get the best format too.
Grab a package from the latest release:
| Distribution | Command |
|---|---|
| Ubuntu 22.04+ · Debian 12+ · Mint 21+ | sudo apt install ./rocks_*_amd64.deb |
| Fedora 43+ | sudo dnf install ./rocks-*.x86_64.rpm |
| Arch · Manjaro · EndeavourOS | sudo pacman -U ./rocks-*.pkg.tar.zst |
Or build the Arch package yourself: git clone https://github.com/micuele/rocks && cd rocks/packaging/arch && makepkg -si
Then install the capture tool for your desktop (see Desktop support). On KDE, make Print Screen open rocks:
rocks-setup-kde # rocks-setup-kde --restore gives it back to SpectacleBuild from source
Needs Rust 1.85+ (rustup) and GTK 4.6+ / libadwaita 1.1+ development files:
| Distribution | Packages |
|---|---|
| Fedora | gtk4-devel libadwaita-devel libepoxy-devel fontconfig-devel gcc pkgconf-pkg-config |
| Debian / Ubuntu | libgtk-4-dev libadwaita-1-dev libepoxy-dev libfontconfig1-dev build-essential pkg-config |
| Arch | base-devel gtk4 libadwaita libepoxy |
cargo build --release --locked
python3 install.py target/release/rocks # installs into ~/.local
/usr/bin/python3 install-kde.py target/release/rocks # …or the same plus the KDE Print Screen bindingPress Print Screen (or run rocks-capture). The capture opens fullscreen with the rectangle tool ready.
| Action | Keys |
|---|---|
| Mark a region · add a comment | drag, type, Enter (Shift+Enter for a new line) |
| Edit a comment | click its numbered badge |
| Crop | right-drag (right-drag again to move or resize) |
| Pan | hold Space and drag |
| Tools | R rectangle · Z arrow · B brush · I line |
| Undo · redo · clear | Ctrl+Z · Ctrl+Y · Delete |
| Save · save as | Ctrl+S · Ctrl+Shift+S |
| Copy and close · cancel | Enter · Esc |
Already have a screenshot? rocks --filename shot.png
| Desktop | Capture tool | Status |
|---|---|---|
| KDE Plasma (Wayland & X11) | spectacle |
✅ Tested · Print Screen setup · per-monitor crop |
| Sway, Hyprland & other wlroots | grim |
🧪 Experimental |
| X11 (GNOME, Xfce, …) | gnome-screenshot or ImageMagick |
🧪 Experimental |
| GNOME on Wayland | — | ❌ Capture not integrated; open a screenshot with rocks --filename |
On Wayland, copying to the clipboard needs XWayland.
- Usage details — capture backends, clipboard formats, configuration
- Development — tests, CI, packaging and releases
MPL-2.0. Third-party notices and source availability: NOTICE.md.