Skip to content

Instantly share code, notes, and snippets.

@shawngmc
Last active October 5, 2021 09:15
Show Gist options
  • Save shawngmc/0787a5fc818ace949b2747ce9a471b97 to your computer and use it in GitHub Desktop.
Save shawngmc/0787a5fc818ace949b2747ce9a471b97 to your computer and use it in GitHub Desktop.
Getting Ubuntu/Ubuntu 18.04 in the New Windows Terminal
  1. Manually trigger Windows Update to Windows 10 19.03+
  2. Launch an administrative powershell and enable WSL via Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  3. After the reboot, install Ubuntu, Ubuntu 18.04 and Windows Terminal (Preview) from the Windows Store.
  4. Start each Ubuntu distro once to set up users.
  5. Open Windows Terminal.
  6. In the dropdown, choose Settings. Choose a JSON editor if asked.
  7. Pull a new icon - likely ubuntu_32px.png - from https://github.com/yanglr/WindowsDevTools/tree/master/awosomeTerminal/icons
  8. Save the icon to C:\Users\shawn\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState
  9. Copy an existing profile block and make the following changes:
  • Change 1 hex digit of the UUID to make it unique
  • Change the name to "Ubuntu 18.04"
  • Change the executable to "ubuntu1804.exe"
  • Change the bgcolor to "#300A24"
  • Change the icon to "ms-appdata:///roaming/ubuntu_32px.png"

Refs https://stackoverflow.com/questions/56765067/how-do-i-get-windows-10-terminal-to-launch-wsl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment