naelstrof / maim

maim (make image) takes screenshots of your desktop. It has options to take only a region, and relies on slop to query for regions. maim is supposed to be an improved scrot.
Other
2.13k stars 78 forks source link

Can't screenshot selection when focused on dropdown menu (Couldn't grab the mouse after 10 tries.) #283

Open Goosegit11 opened 12 months ago

Goosegit11 commented 12 months ago

Can't screenshot selection when focused on dropdown menu (Thunar) or games (Minecraft)

In Minecraft screenshoting works when in chat, in Esc menu, inventories, but not when I'm actually playing.

Atttachment were shot with fullscreen and then cropped in external app.

$ sleep 5; maim --format png --quality 8 --select | xclip -selection clipboard -target image/png

Failed to detect a compositor, OpenGL hardware-acceleration disabled...
terminate called after throwing an instance of 'std::runtime_error'
  what():  Couldn't grab the mouse after 10 tries.
[1]    686647 IOT instruction (core dumped)  maim --format png --quality 8 --select |
       686648 done                           xclip -selection clipboard -target image/png
$ maim -v
v5.7.4

image psd-2