User Tools

Site Tools


windows_subsystem_for_linux_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
windows_subsystem_for_linux_setup [2019/08/02 11:53] tkbletscwindows_subsystem_for_linux_setup [2019/08/20 09:45] – [Basic packages] tkbletsc
Line 19: Line 19:
   * Make a shortcut of the "app", then put the shortcut into the classic start menu programs list.   * Make a shortcut of the "app", then put the shortcut into the classic start menu programs list.
  
-===== Basic packages ===== +===== Update plus basic packages ===== 
-The default package set is actually not bad. But here'what's missing:+The default package set is actually not bad. But this will update and install what's missing: 
 +  sudo apt update 
 +  sudo apt dist-upgrade
   sudo apt install lynx links binutils zip unzip gdb   sudo apt install lynx links binutils zip unzip gdb
  
Line 27: Line 29:
   ln -s /mnt/c/Users/$USER ~   ln -s /mnt/c/Users/$USER ~
   sudo ln -s /mnt/c /c   sudo ln -s /mnt/c /c
 +
 +===== "Open Linux Shell Here" context menu =====
 +It turns out there already is one by default, but it only shows if you //shift// right click. To make it always visible ([[https://winaero.com/blog/make-open-linux-shell-always-visible/|per here]]):
 +  * Download and run "[[https://winaero.com/blog/execti-run-programs-trustedinstaller/|ExecTI]]" to allow you to run regedit as TrustedInstaller (more privileges than admin)
 +  * Run regedit using the tool
 +  * In ''HKEY_CLASSES_ROOT\Directory\shell\WSL'', delete the key ''Extended''
 +
 +===== Run explorer from this directory in bash =====
 +I'm used to saying ''explorer .'' to open an explorer in this directory. For some reason, this doesn't work in WSL, even if I spell out the full path to explorer. However, [[https://stackoverflow.com/questions/44245721/launching-explorer-from-wsl|per this recipe]], you can add the following to ~/.bashrc to restore this functionality:
 +  alias explorer="cmd.exe /c start"
 +
  
 ===== Keyboard scrolling ===== ===== Keyboard scrolling =====
windows_subsystem_for_linux_setup.txt · Last modified: 2022/10/09 08:57 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki