Skip to content

Instantly share code, notes, and snippets.

@programmeruser2
Created June 29, 2021 20:09
Show Gist options
  • Save programmeruser2/c50be75088c77fd82a0ae59b8bdf6cc8 to your computer and use it in GitHub Desktop.
Save programmeruser2/c50be75088c77fd82a0ae59b8bdf6cc8 to your computer and use it in GitHub Desktop.
export DISPLAY=$(powershell.exe -Command '(Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.AddressState -eq "Preferred" -and ($_.InterfaceAlias -eq "Wi-Fi" -or $_.InterfaceAlias -eq "Ethernet")}).IPAddress' | sed 's/.$//'):0.0
export LIBGL_ALWAYS_INDIRECT=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment