Last active
July 21, 2019 05:52
-
-
Save estysdesu/32f191d6a2fe63c9e8015deec362bde1 to your computer and use it in GitHub Desktop.
[WSL: X-Server for UI] #wsl #x #server #sh #posh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### WINDOWS ##### | |
$uri = 'https://sourceforge.net/projects/xming/files/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe/download' | |
curl -L $uri > Xming-setup.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
##### WSL ##### | |
export DISPLAY=localhost:0.0 >> "$HOME/.bashrc" | |
pip3 install python3-tk # tk UI kit | |
pip3 uninstall matplotlib && pip3 install matplotlib --no-cache-dir # reinstall matplotlib | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment