project-repo/cagebreak

How To Take a Selection Screenshot (without layer-shell)

VehementHam opened this issue · 6 comments

Is this possible?If so, what tool or workaround is requiresd?

Please take a look at grim. The archwiki page
(https://wiki.archlinux.org/title/Screen_capture#Wayland) has some
relevant information too.

grim requires slurp. slurp requires Layer-Shell. maim --select works, but maim is being run through Xwayland, and I prefer to avoid running Xorg applications when I can. In this case it may not make a difference, though.

AFAIK, grim doesn't require the layer-shell protocol? According to the
man page, it is based on the screencopy protocol... In any case, I can
use grim in cagebreak to take screenshots even though we have not
implemented the layer-shell protocol. Can you reproduce this?

What commands do you use?

So for example:
grim -g "200,200 100x100".

Hi VehemntHam

Since this is an issue regarding usage and not primarily a bug in
Cagebreak, we are closing it for now, seeing as it hasn't seen any
activity for several days. Feel free to reopen if your issue persists.

cheers
project-repo