Ubuntu uses Wayland, and Flameshot needs permissions to capture the screen. To fix the error on Ubuntu 26
Flameshot unable to capture screen
- Install Flatpack with
sudo apt install flatpak - Set the missing permissions with (this is a long command, execute it as one line)
flatpak permission-set screenshot screenshot org.flameshot.Flameshot yes