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

scrot -z causes a warning on some Linux distributions #61

Open
CaptainTyphoo opened this issue Sep 19, 2020 · 1 comment · May be fixed by #62
Open

scrot -z causes a warning on some Linux distributions #61

CaptainTyphoo opened this issue Sep 19, 2020 · 1 comment · May be fixed by #62

Comments

@CaptainTyphoo
Copy link

scrot does not provide the '-z' option on all Linux distributions. This causes a warning on distributions where this option is missing (e.g. Fedora, CentOS, RHEL):

>>> import pyscreeze
>>> img=pyscreeze.screenshot()
scrot: invalid option -- 'z'

If you use the screenshot function repeatedly in your script, the console will get flooded with this warning message.

@burkbre
Copy link

burkbre commented Jan 24, 2023

Is there any update on whether this issue will be closed? The linked pull request should close this issue and it is an easy fix. Would be nice to get this merged.

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