Linux: Wayland Screenshot Support
Wayland's security design prevents screen capture by most apps. SCREENish requires X11 to capture screenshots.
Check your display server:
echo $XDG_SESSION_TYPE
If it shows wayland, switch to X11. See: How to switch from Wayland to Xorg
If it shows x11, screenshots should work normally.