grim icon indicating copy to clipboard operation
grim copied to clipboard

Region doesn't show cursor

Open asjur opened this issue 4 years ago • 2 comments

When taking screenshots with grim using region provided by slurp, even if I specify -c, cursor is not captured.

asjur avatar Nov 05 '21 14:11 asjur

What command, exactly, are you using? Also, what cursor theme, and which Wayland compositor?

I can't reproduce this myself; however, if I make a screenshot with grim -g "$(slurp -d)" over some text input region, the screenshot uses the I-beam cursor shape (I) instead of the regular ( 🮰) cursor that is seen while selecting a region with slurp . So if the underlying program sets an invisible cursor, the screenshot will use that invisible cursor.

mstoeckl avatar Nov 07 '21 15:11 mstoeckl

This is my command grim -c -g "$(slurp -d)" - | wl-copy Cursor theme is Adwaita and I'm on Sway 1.6

asjur avatar Nov 08 '21 09:11 asjur