How I went back to Windows in a long time (WSL)

Most recently, I bought myself a Huawei Matebook d13 with windows 10 home preinstalled



WINDOWS # Day one



After my old MSI, Huiwei showed its best side.



  1. FingerPrint
  2. Touchpad with full gesture support
  3. 2k screen
  4. Long working time
  5. Charging from Type-c. Now I charge all my devices with one charge


I was happy as a little child, but the laptop was bought for work, and I used to work on linux



KDE NEON, KUbuntu, Ubuntu



I had wanted to try sneakers for a long time, but did not dare, and with a new device I had carte blanche for any experiments. I installed myself KDE NEON and immediately ran into a lack of gestures and a broken fingerPrint. With the help of dancing with a tambourine, I started some gestures (the fingerprint did not work). In browsers, gestures refused to work at all.



I took down everything and installed Ubuntu. Nothing has changed, but here all the gestures did not work, no matter how hard I tried.



I demolished everything that was there again and installed KUbuntu. Nothing has changed!



And then I remembered about WSL (Windows Subsystem for Linux)



I demolished linux and brought windows back






WSL



I googled the wsl installation instructions and quickly did everything, launched ubuntu and was shocked that it works, but not very well. Not a real kernel under the hood, docker doesn't work, so I quickly changed wsl to wsl 2.



, , , .



WSL 2



WSL .



, ssh.



WSL, .





PS C:\Users\zawer> wsl -l -v
  NAME                   STATE           VERSION
* Ubuntu-20.04           Running         2
  docker-desktop-data    Running         2
  docker-desktop         Running         2


, windows, docker, , (- ).

WSL.



postgres, wsl. !



(nodejs, typescript, redis, postgres) code .. vscode, , , .



IDE, .



x, , , .



WINDOWS #



(ctrl + alt+ t), wsl, windows.



, wsl hosts, ssh.



, .



- Ubuntu Windows, photoshop . Wine WSL. wsl.



WSL 0.0.0.0 ip, .



, 4.19.128-microsoft-standard.



,



, , /etc/wsl.conf



[automount]
enabled = true
root = /mnt
options = "metadata,umask=22,fmask=11"
mountFsTab = true

[interop]
enabled = true
appendWindowsPath = true

[network] 
generateResolvConf = false 




wsl, .



, .



, , , wsl, , .




All Articles