Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HeaderBody opened this issue Jun 3, 2022 · 3 comments
Open

Comments

@HeaderBody
Copy link

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

@rcarmo
Copy link

rcarmo commented Feb 24, 2023

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

@HeaderBody
Copy link
Author

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

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

@cacharle
Copy link

cacharle commented Apr 28, 2023

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

export DISPLAY=:0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants