screenshot icon indicating copy to clipboard operation
screenshot copied to clipboard

Can I use it on Linux

Open x93008 opened this issue 4 years ago • 1 comments

I want use it on linux

x93008 avatar Jul 13 '20 02:07 x93008

Hi @x93008, thanks for taking the time to open an issue. Right now, this library targets macOS in an effort to take screenshots in a more programmable manner.

Ironically, I found Linux to have better options when trying to take screenshots programmatically. Since you've expressed interest, I can adapt this library to run on Linux, especially since I've migrated back to Linux on all of my machines.

Pretty sure this can be adapted to use scrot to take screenshots, and wmctl to get window information from the window manager on Linux. I'm unsure if those utilities will work on Wayland, however.

alexdelorenzo avatar Jul 16 '20 21:07 alexdelorenzo