Currently, Wayland doesn’t support screenshot capture with usual apps, like Hubstaff for example.
One of the features of Wayland is its security design, which helps to guard the user against malicious apps. Apps can no longer see everything on the screen and spy on you. But that also means you cannot run a common application (like shutter or gtk-recordmydesktop) and use it to make a screenshot or a screencast of your desktop – it will see only its own window, but nothing else (or it might crash right away). System (trusted) apps need to be used to perform these actions.
Furthermore, there isn’t a standard API for getting screenshots from Wayland. It’s dependent on what compositor (window manager/shell) the user is running, and if they implemented a proprietary API to do so. – Reference: https://fedoraproject.org/wiki/How_to_debug_Wayland_problems#Screen_capture_is_not_available_with_usual_apps
The only workaround at this point is to switch back to Xorg instead of Wayland. We are waiting for Wayland to stabilize and the screenshot API to be standardized before we look into supporting it. You can switch to Xorg from Wayland very easily, though. Here’s a link that will show you how to do it: https://itsfoss.com/switch-xorg-wayland/
To find out what display manager you are currently using:
Open the Terminal app from your Linux machine.
Type in the below command:
If the result is X11, the app should be able to record screenshots. If it says Wayland, please follow the steps here.