flameshot: error: Screenshot portal timed out after 30 seconds
flameshot: error: Unable to capture screen
flameshot: info: Screenshot aborted.
Make its config file:
mkdir -p ~/.config/flameshot
nano ~/.config/flameshot/flameshot.ini
with content of:
[General]
useX11LegacyScreenshot=true