I found a workaround.
I could see when I ran Flameshot from the terminal.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
So, Flameshot works but needs that QT_QPA_PLATFORM variable to be wayland.
In Gnome custom shortkeys, I tried al of these and it didn’t work.
1. QT_QPA_PLATFORM=wayland && flameshot gui
2. QT_QPA_PLATFORM=wayland; flameshot gui
3. QT_QPA_PLATFORM=wayland in .zshrc
The actual workaround was to write a bash script and put it in $USER/.local/bin
nano takescreenshotfull-
#!/bin/bash QT_QPA_PLATFORM=wayland flameshot full --path <screenshots_dir> # ~ and $USER in <screenshots_dir> could cause issues chmod +x $USER/.local/bin/takescreenshotfull- In Gnome custom shortkeys, fill in
commandfield withtakescreenshotfull