vova616/screenshot

Multiple screens, how to take screenshots for a specified screen?

HeaderBody opened this issue · 3 comments

For example: I have screen 1 and screen 2, how can I take a screenshot of 1 or 2?

I have the same question. Would like to be able to do this on Mac and Linux

我也有同样的问题。希望能够在 Mac 和 Linux 上执行此操作

I've solved this problem using Go to load C code to get 2 screens

Isn't it just changing the DISPLAY environment variable, :0.0 for screen 0 and :1.0 for screen 1?

export DISPLAY=:0.0