I've created plugin that wraps gnome-screenshot tool. gnome-screenshot is the only tool that worked for me running GNOME Shell on Wayland.
What is the issue and why to use gnome-screenshot?
By design, Wayland is a lot more secure than X11 and does not allow one application to capture the content of other applications' windows, meanignath a X11 based screenshot tool cannot work underWayland/Xwayland.
Both Weston and gnome-shell (Wayland compositors) have screencast and screenshot features built-in.
PROS: works with Wayland
CONS: gnome-screenshot takes more than 1s to take a screenshot.
Coverage increased (+0.2%) to 39.723% when pulling cae20432aa2298c8397a4bf69e8068004b3be9ef on lipoja:master into 2730487ebc44282ec78b83532f424368b4ce2fb8 on ponty:master.
I've created plugin that wraps gnome-screenshot tool. gnome-screenshot is the only tool that worked for me running GNOME Shell on Wayland. What is the issue and why to use gnome-screenshot?
Quote from https://bugs.freedesktop.org/show_bug.cgi?id=98672#c1 :
PROS: works with Wayland CONS: gnome-screenshot takes more than 1s to take a screenshot.