🤦‍♂️ WSL2 secret to opening files and URLS with host apps

preview_player
Показать описание
To be fair, wslu has existed since 2018. No one ever told me about it depite hundreds of hours of livestreams and some complaining about it. I honestly did not think it was possible until Chloe clued me in. I love my AI.

#wsl2 #linux #beginners #protips #education
Рекомендации по теме
Комментарии
Автор

At the time i was using windows I had to install custom daemons for it to work, amazing to see it built in now

cherryramatis
Автор

I just played a bit with Git Bash. I am not sure if that would be suitable for your work case, but you are able to open URLs and files from Git Bash in Windows using that little alias:

alias open="start"

guiaubert
Автор

My computer crashed once when i tested WSL in 2020, and then i realized it was consuming all the RAM with cache. So, i wrote a script that clears all the cache memory every 2 minutes (cron) when it reaches 3GB.

GabrielDNillo
Автор

I feel like I'm missing a piece of the puzzle. Hasn't WSL 2 had access to the host system's environment variables (at least PATH) for like... a long time?

Clebatwork
Автор

Still i can't use docker via wsl, i always got network errors and need to configure weird firewall configs and that annoyes me. That's why i gotta use linux desktop and o don't like linux desktop experience as well.

-Engineering-
Автор

I’ve imported the Arch distro into WSL but pacman -S man-db man-pages tmux, doesn’t appear to install the man pages. I have to manually extract the tarball from the pacman cache and copy them over to the man path then run mandb to update. Any ideas as to what I’ve missed?

jamesbarrow