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

WSL #62

Open
byteface opened this issue Dec 12, 2021 · 0 comments
Open

WSL #62

byteface opened this issue Dec 12, 2021 · 0 comments

Comments

@byteface
Copy link

On windows sub system for linux it throws an enumeration error.

I often have 2 venvs. a winvenv and venv. The problem with WSL is the ctypes.windll are not avaible. but neither is xrandr

I noticed the only way to do it then was to call to the host from shell to get a value. maybe you could subproccess.?

cmd.exe /c wmic path Win32_VideoController get VideoModeDescription,CurrentVerticalResolution,CurrentHorizontalResolution /format:value

but that doesn't get the additonal connected monitors only the main one. Let me know if I can assist.

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

1 participant