Our great sponsors
WSL | gsudo | |
---|---|---|
406 | 46 | |
16,613 | 4,797 | |
1.2% | - | |
8.3 | 8.6 | |
7 days ago | 22 days ago | |
PowerShell | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WSL
-
GoboLinux
It absolutely 100% can be true.
As an example: Windows Services for Linux 2 used a special init daemon to interact with the host OS.
That meant no systemd. That meant that the `systemctl` program wasn't there.
This baffled legions, armies, of wannabe sysadmins.
https://stackoverflow.com/questions/55579342/why-systemd-is-...
https://superuser.com/questions/1785697/systemd-in-wsl-on-wi...
https://github.com/microsoft/WSL/issues/9477
https://askubuntu.com/questions/1132230/unable-to-run-any-sy...
People on the whole have no idea how this stuff works, and they just copy magic incantations from StackOverflow to get stuff to happen. If that doesn't work, then this OS is broken. The end.
For these guys, WSL was broken.
Result:
MS hired Lennart Poettering.
https://www.theregister.com/2022/07/07/lennart_poettering_re...
He "fixed" it. Systemd now works in WSL2. All those guides for noobs now work. Everyone is happy.
In a world where tools like Flatpak and Snap are proliferating and it's driving deep divisions between Linux distros, if you think the average person struggling with Linux is going to use `ldd` to work out where the dependencies for something live, I'm afraid you are a deep guru who lives on a different plane of existence.
We now have widely-used packaging systems which simply embed an apps entire dependency tree into a package to avoid people having to work out the difference between `apt` and `rpm`. Thousands of terabytes of disk are being burned to make this stuff go away.
Yes, this is too hard. Way too hard.
- Why Linux utilities tend to run poorly on Windows
- Weird graphical glitch/problem in Ubuntu WSLg (OpenGL)
-
RamRamRamEveryoneSleepingOnDocker
One of the bugs where on the Docker side. As I have said, there have been several since release with a lot of impact period overlap. The latest and greatest is not resolved.
-
Laravel dev in Windows - Laragon vs Docker?
It's the issue of abysmal I/O performance in communication between the mounted WSL2 virtual hard disk and Windows mounts inside the WSL2 distro.
- WSL freeze seems fixed in 2.0.12
-
What's the right way to open files in the system's default program from Ubuntu 22.04 in WSL 2 please?
I found this github page and I was able to reproduce this from the answer
-
Ask HN: Best Docker open source alternative?
* Docker engine and not Docker Desktop in a VM. WSL2 works well after some configuration: https://github.com/microsoft/WSL/issues/6655#issuecomment-11...
-
Broadcom to Cut Almost 1,300 VMware Jobs in California After Takeover
Seems to more of a Defender issue than a WSL one, see https://github.com/microsoft/WSL/issues/8995
After adding exclusions for the fsnotifier-wsl process and and both variants of the WSL distro path my disk performance was improved.
Adding the idea64.exe process also helped since I was trying to run IntelliJ against projects inside WSL.
- Bricked WSL 2 after 2.0.9 / Windows 10
gsudo
-
Microsoft is bringing Linux's sudo command to Windows 11
There's already a similar tool that does sudo on Windows: https://github.com/gerardog/gsudo
-
Sudo for Windows
Well, sudo for Windows has been a thing for, like, a few years now?... https://github.com/gerardog/gsudo
Not sure if this is the same thing, but this definitely should have shipped with the very first implementation of "oh, sure, you're an Administrator, but not really, since we're ignoring that bit" a.k.a. User Account Control.
That would have saved about a metric ton of misguided "here's how to turn off UAC" tutorials, but, ehm, yeah, anything to inject some life into the moribund Windows Insiders Program (the one where https://blogs.windows.com/windows-insider/ proudly headlines "What’s coming for the Windows Insider Program in 2023"), right?
-
How many cycles does your battery have?
Running powercfg /batteryreport in an command prompt with Admin privilege (or through gsudo) and opening battery-report.html in the directory where you ran it.
- Gsudo: Sudo for Windows
-
Windows Terminal Preview 1.18 Release
gsudo is your friend here.
- what is the command to change to a non admin user (guest) on cmd?
-
Using sudo commands on in PS
Or, if you prefer: Gerardog's gsudo on Github.
-
The amount of times I have accidentally done this...
Sudo works perfectly fine on Windows as well using gsudo.
-
Windows Terminal is now the default Windows 11 22H2 console
I wish gsudo was integrated, but otherwise, I've been very happy with Windows Terminal. Glad to see it finally in.
What are some alternatives?
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
genie - A quick way into a systemd "bottle" for WSL
Scoop - A command-line installer for Windows.
usbipd-win - Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL 2.
Single-GPU-Passthrough
winget-cli - WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
setup-msys2 - GitHub Action to setup MSYS2
winget-pkgs - The Microsoft community Windows Package Manager manifest repository
mkcert - A simple zero-config tool to make locally trusted development certificates with any names you'd like.
Invoke-CommandAs - Invoke Command As System/Interactive/GMSA/User on Local/Remote machine & returns PSObjects.