Open byteface opened 2 years ago
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.
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.?
but that doesn't get the additonal connected monitors only the main one. Let me know if I can assist.