How to enable the screenshooter in kiosk-shell
I've recently switched from desktop-shell to kiosk-shell and noticed the keybindings, and especially the screenshot feature, don't work anymore.
Looking at the source code, kiosk-shell.c is indeed missing most of the keybindings that are available in shell.c, so this is to be expected.
But both the kiosk and the desktop call the screenshooter_create as part of their init process (here for kiosk, and here for desktop), which contains the needed keybindings for screenshoting and recording. Just reading the code would lead one to believe these features are thus available in kiosk, as well, but trying them out leaves me with no screenshot actually taken. I can successfully take a screenshot in desktop-shell, though.
I've also tried weston-binder in kiosk and defined a key to call the /bin/weston-screenshooter directly and redirecting the stderr to a tmp file. I get a display doesn't support screenshooter
error. Weston was started with "--debug" in this case, since without it I get a error 0: screenshooter failed: permission denied. Debug protocol must be enabled
from /bin/weston-screenshooter.
I would still like to retain the possibility of taking screenshots in kiosk-shell, as well. Can you guide me on how would one achieve that, either with a keybinding or with calling weston-screenshooter directly, an external tool or with patching the source code and rebuilding?