• Learn
  • November 26, 2026
  • 4 min read

How to upload Flameshot screenshots to S3 or Cloudflare R2

Flameshot is a favorite for quick annotated screenshots, but since version 13 its official builds don't upload at all: the Imgur uploader is left out. Aktar can run Flameshot for you instead: you draw your arrows and boxes as usual, and the finished image goes to a bucket you own, under your own domain if you have one.

Choose Flameshot as the capture tool

  1. Install Flameshot from its site or your distribution's packages, and Aktar 0.16.0 or later on Linux or Windows (0.22.0 or later on the Mac).
  2. Open Aktar's settings: General › Capture on Linux and Windows, General › Capture tool on the Mac.
  3. Choose Flameshot. Tools that aren't installed say so and link to their site.

From then on, Aktar's Capture shortcut, its Capture button and the tray or menu bar entry all start Flameshot.

Capture, annotate and upload

  1. Press Aktar's Capture shortcut and select an area. Flameshot's tools appear around it.
  2. Add arrows, boxes, text or blur.
  3. Click the check mark (or press Enter). Aktar uploads the image and copies its link. Esc cancels, and nothing is uploaded.

The upload follows your destination's rules like any other: its path template, image processing, short links and history. Capture, upload and paste puts the link straight into the app you were in.

On the Mac: install the helper once

macOS doesn't let a sandboxed app like Aktar start Flameshot with the options it needs. Aktar starts it through a small script in its own Application Scripts folder instead, and only you can put it there: when you choose Flameshot, click Install Helper… and confirm the folder Aktar shows. You do this once.

Flameshot for the Mac comes from its GitHub releases; the first time it runs, macOS asks for Screen Recording permission for Flameshot itself.

Without the Aktar app: a script

If you'd rather keep Flameshot's own shortcut, have it save the capture to a file and hand that file to the aktar command:

#!/bin/sh
file="$(mktemp -d)/screenshot.png"
flameshot gui -p "$file" && [ -s "$file" ] && aktar upload "$file"

Bind the script to a key in your desktop's keyboard settings. aktar upload prints the link; pipe it to wl-copy, xclip -selection clipboard or pbcopy to copy it. The aktar command uploads through the Aktar app, so connect it once with aktar login.

If nothing is uploaded

  • Capture opens the system tool instead: Aktar can't find Flameshot, and says why in a notification. Install it, or on Linux make sure flameshot is on your PATH.
  • On Wayland, the selection doesn't appear: Flameshot goes through the desktop's screenshot portal there; use Flameshot 15 or later and allow the screenshot when the desktop asks.
  • The link opens with Access Denied: the upload worked, but the bucket isn't public at its public URL. See Access Denied errors.

Or let Aktar handle it

Aktar keeps the storage keys and does the uploading; Flameshot only draws. Every screenshot lands in Aktar's history with its link, can be undone for a few seconds after, and waits in a queue if you're offline. The same capture tool setting works with ShareX, Satty, Swappy and Spectacle too (see the release).

Screenshot to link

Common questions

Does Flameshot need its own upload settings?

No. Flameshot's official builds have no upload since version 13, and an older build's Imgur upload can stay off. Aktar takes the image Flameshot saves and uploads it to your destination.

Does this work with Cloudflare R2, Backblaze B2 and MinIO?

Yes. Aktar uploads to Amazon S3, Cloudflare R2, Backblaze B2, DigitalOcean Spaces, MinIO and other S3-compatible services. See the setup guides.

Can screenshots expire?

Yes. Set an expiry on the destination in Aktar, or add --expires 7 to the script's aktar upload, and the file is deleted after that many days. See lifecycle rules for doing it in the bucket.