Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save helgatheviking/d43e78eb4de08891b1fdc12b88345aba to your computer and use it in GitHub Desktop.
Save helgatheviking/d43e78eb4de08891b1fdc12b88345aba to your computer and use it in GitHub Desktop.
Add "Open Ubuntu Terminal Here" to context menus - Launches Windows Terminal's Ubuntu profile.
Windows Registry Editor Version 5.00
Replace <<Username>> with your user name!
[HKEY_CLASSES_ROOT\Directory\Background\shell\ubuntu]
@="Open Ubuntu Terminal here"
"Icon"="%USERPROFILE%/AppData/Local/WindowsTerminal/ubuntu.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\ubuntu\command]
@="C:\\Users\\<<Username>>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -d . --profile=\"Ubuntu-18.04\""
[HKEY_CLASSES_ROOT\Directory\shell\ubuntu]
@="Open Ubuntu Terminal here"
"Icon"="%USERPROFILE%/AppData/Local/WindowsTerminal/ubuntu.ico"
[HKEY_CLASSES_ROOT\Directory\shell\ubuntu\command]
@="C:\\Users\\<<Username>>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe --startingDirectory=\"%1\" --profile=\"Ubuntu-18.04\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment