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.15k stars 78 forks source link

maim screenshots copied to the clipboard won't paste in certain cases. #260

Closed JimPix1 closed 2 years ago

JimPix1 commented 2 years ago

I made an issue on this on the st-flexipatch repository believing the st terminal to be the issue, however I now believe it to be to do with maim/xclip. https://github.com/bakkeby/st-flexipatch/issues/69 My issue is explained and expanded on there. Essentially when I do something like maim -u -f png | xclip -selection clipboard -t image/png And then try to paste it into Discord in Firefox, Firefox will freeze entirely for a few seconds and nothing will happen, although sometimes it does work, a significant amount of the time it just freezes Firefox. I've had this issue for quite a while now, and I tried to use things like flameshot as a workaround but now I'd really just love to fix it properly.

JimPix1 commented 2 years ago

Fixed by installing xclip-git xclip needs to be updated in the arch repos as it's 2 years old

foxpy commented 2 years ago

xclip needs to be updated in the arch repos as it's 2 years old

That's not even a problem in Arch, since the latest relese of xclip is 0.13, and Arch ships exactly this version. I will leave an issue at xclip repository and ask them to prepare a new release.