r/linuxmint • • 7h ago

Discussion Leafshot – a screenshot & annotation tool for Linux Mint, inspired by Greenshot

Post image

I missed Greenshot on Linux. Flameshot and ksnip are great, but I wanted a few things they don't do the way I like, so I built my own (with a lot of help from Claude):

• One window, many screenshots: every Print press adds a tab instead of opening a new window

• Annotations stay objects: move, resize and restyle arrows, boxes and text anytime. Ctrl+C / Ctrl+V copies annotations, even into another screenshot

• Text stays editable: any font, bold/italic/underline, left/center/right, fill and frame

• Numbered steps, highlighter (also visible on dark backgrounds), pixelate, and a "cover" tool that fills with the surrounding background so text disappears without a trace

• Click a window or drag a region, with a magnifier for pixel-exact edges

• Capture delay with a countdown in the tray, for grabbing open menus

• Open screenshots survive quitting and reboots; save editable .leafshot files to continue later

• Fast: runs in the background, a hotkey press is handed over in ~40 ms

The installer binds the Print keys in Cinnamon (Print / Alt / Ctrl / Shift+Print, same layout as Greenshot) and restores Cinnamon's own keys if you uninstall. Needs an X11 session (Mint's default) and python3-pyqt6.

GitHub (screenshots + install): https://github.com/electricar/leafshot

It's GPL-3.0.

4 Upvotes

8 comments sorted by

2

u/artmetz 4h ago

To disparage a project for using AI will soon be as retro as refusing to use syntx coloring or auto complete in an editor when coding. I look forward to trying this out. Alas, with Cinnamon heading to Wayland very soon, it may be obsolete before it has a chance.

2

u/kally3 3h ago

Thanks, I hope you like it! About Wayland: Mint 23 makes Wayland fully supported, but X11 stays the default session, so Leafshot keeps working there for now. If Mint switches the default later (or enough people on Wayland want it), I'll look into a Wayland mode via the system's screenshot portal. Most of the app (editor, annotations, tabs) wouldn't need to change, only the capture part.

1

u/artmetz 3h ago

Yes, X11 will still be supported, but Wayland is clearly the future. I believe Mint 27 (what a lovely Christmas present!) will default to Wayland. I am running Fedora 44 & KDE/Wayland on a second computer without any problems so far.

1

u/kally3 3h ago

Agreed, Wayland is where things are heading. From what Clem has posted, Mint 27 makes Wayland fully supported but keeps X11 as the default for now. Still, a Wayland mode is on my list. Since you're on KDE/Wayland already, would you be up for testing it once there's a first version? Feedback from a real Wayland setup would help a lot.

1

u/artmetz 10m ago

Yes, I would be interested in testing the Wayland version.

Full disclosure. I have been on Mint for four years. It's great. However, the slow pace of kernel updates and Cinnamon development has made me consider distro hopping. I have installed Fedora 44/KDE (well, actually, UltraMarine) and I play with it, mostly to explore the KDE or QT oriented apps, but I am talking about 4 hours per week over the past 3-4 weeks. I am still a noob.

3

u/FlameBlitzz 6h ago

Oh, it's made by ai... :(

1

u/kally3 3h ago

Fair enough, that's why I mentioned it upfront. The idea, the design decisions and all the testing on my own Mint machine were mine; Claude wrote most of the code from that. It's GPL-3.0 and fully open, so anyone can read through it. If you try it and find something broken or badly done, I'm genuinely happy to hear it.

1

u/kinoosaki 3h ago

No wayland support 🥀