WSL2-Linux-Kernel
PowerToys
Our great sponsors
WSL2-Linux-Kernel | PowerToys | |
---|---|---|
54 | 713 | |
7,522 | 104,324 | |
2.0% | 1.7% | |
10.0 | 9.8 | |
about 1 month ago | 3 days ago | |
C | C# | |
GNU General Public License v3.0 or later | 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.
WSL2-Linux-Kernel
-
GPL or Apache license for an upcoming PySide2 project?
By the way, Microsoft publishes the WSL kernel source, under GPL, as they must: https://github.com/microsoft/WSL2-Linux-Kernel
-
LFS from WSL2 on Win10
From here on out it gets a bit hazy. For kernel builds you will have to use the Microsoft Linux Kernel (don't laugh, it's actually a thing). The USBIPD project walks through a WSL kernel build, so you can use that as a guide of sorts. Once you've done everything you need with the disk, the Gentoo project shows how to import it, but if you already have the VHDX file, I think the import-in-place option may be simpler. Take care in CH2 when making the filesystem. I'm not sure if WSL want's only one ext4 partition or if it walks the disk looking for root. There may be some .wslconfig settings for this, my first guess would be kernelCommandLine.
-
Windows Subsystem for Linux 2.0 release
This was true for WSL1, but WSL2 does contain a Linux kernel. The source code for it is available at:
https://github.com/microsoft/WSL2-Linux-Kernel
- WSL2-Linux-Kernel: Source for the Linux Kernel Used in WSL2
- Instructions for using kernel 6.3.y on WSL2 (you probably shouldn't do this)
-
Mount aes-adiantum LUKS drive on a kernel without adiantum support
git clone --branch mytag0.1 --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel use tag for your version
-
Is it possible to manually replace WSL kernel by custom one?
But if you need a custom kernel then build it by taking Microsoft's kernel config as your base and then set the following up accordingly in your %USERPROFILE%\.wslconfig file:
-
WSL - Microsoft Linux
It uses a customized version of the Linux kernel (repo) that integrates with the host Windows OS. You can build any distro on top of that kernel, as people have done with (of course) Arch. The distro isn't any less "real" than a distro that it run on QEMU (and with a level 1 hypervisor, all systems that uses one are technically virtualized already).
-
Gentoo on WSL? Sure!
I recompiled the kernel using sources from https://github.com/microsoft/WSL2-Linux-Kernel with experimental genpatches applied.
-
ZFS raw (passthrough) on WSL: what do you think of my plan?
KERNVER=$(uname -r | cut -f 1 -d'-') git clone --branch linux-msft-$KERNVER --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel.git ~/kern-$KERNVER zcat /proc/config.gz > ~/kern-$KERNVER/.config make -C ~/kern-$KERNVER -j 4 make -C ~/kern-$KERNVER -j 4 modules_install ln -s /lib/modules/$KERNVER-microsoft-standard-WSL2+ /lib/modules/$KERNVER-microsoft-standard-WSL2
PowerToys
-
Unlock Web Dev Superpowers with PowerToys
Windows PowerToys GitHub Repo
-
We released a new powerful efficiency tool called RunFlow, which is similar to PowerToys and Alfred, welcome to try it
RunFlow is a cross-platform productivity tool which can launch apps and search files and more, that similar to Wox and PowerToys on Windows, and also similar like Alfred and Raycast on macOS. But we have differences with these tools, and we have our own unique new features. Right now, at the below, we will introduce you what features of RunFlow have been implemented in more details. It's an amazing journey, let's start.
-
GTK: On fractional scales, fonts and hinting
I'm curious - when you were doing research into the mechanics of hinting options, did you stumble onto any relevant discussion around allowing custom pixel geometries to be defined, to enable hinting on modern OLED / WRBG displays? There's a good thread on the topic here[0], with some people referring to it as 'ClearType 2' on the MS side [1]. On the oss side I know FreeType theoretically supports this[2], but I can't quite figure out how relevant the FreeType backend is to this most recent work.
This is great work btw.
[0]: https://github.com/snowie2000/mactype/issues/932
[1]: https://github.com/microsoft/PowerToys/issues/25595
[2]: https://freetype.org/freetype2/docs/reference/ft2-lcd_render...
-
Ask HN: Cleanest way to manage Windows OS?
Thank you all for the informative advices. Here is the summary for those who are in the same situation:
1. Run Windows on Linux by using VM
for the applications you can’t run on Linux
Risks:
* some softwares may attempt to detect VMs and refuse running
* Anything what needs to touch hardware may not work.
2. separate "data" partition on D:
3. back up %APPDATA% and %USERPROFILE%
4. learn chocolatey, scoop or winget
Winget should be good enough
5. Don’t worry about C:\Program Files
6. (Mixed) Use/Don’t use Ansible (or saltstack/salt)
Use:
* Allows you to setup a new machine quickly and consistently when one breaks, get stolen, or lost in an inconvenient time.
* You can get a clean and consistent development environment so that you do not depend on anything accidentally installed on the machine.
* If you define specialised roles, create test playbooks for those individual roles, use these roles to compose more complex playbooks, and offload logic to custom ansible modules that are written in python, you won't wrestle with heavy logic in the template or playbook layer.
* installing software and pulling some configs and scripts down is fine
Don’t use:
* You will spend your days fighting a mix of yaml and Jinja.
* You will end up looking at Python errors because there are no static types.
* errors are cryptic.
7. Use WSL2
You need 32gb of ram, but ram is cheap so choose a good thinkpad
8. Debloat with Recommended Tweaks
Run
irm christitus.com/win | iex
from Administrator Terminal (Powershell)
The link leads to https://raw.githubusercontent.com/ChrisTitusTech/winutil/mai...
VirusTotal
https://www.virustotal.com/gui/file/709834b0e003b6bb546cf16e...
9. Get [PowerToys](https://github.com/microsoft/PowerToys)
10. Use Devbox for containered environment
https://www.jetpack.io/devbox
11. Dual-Booting Linux and Windows
If you use physically separated drives, you don’t need partitioning.
12. Dedicated Windows machine for class
Yes it sure would be the cleanest solution but I prefer one device for everything
13. keep a git repository with all dot files in it
Many people suggested me to use virtualization, otherwise just let Windows be Windows.
Also, backing up seems to be a good practice.
I’m planning to write a blog about this, if it worked.
Again, thank you all for the helps!
- Ask HN: Best Hacks for a Ultrawide Monitor?
-
Keypirinha: A fast launcher for keyboard ninjas on Windows
Powertoys Run (https://github.com/microsoft/powertoys) can do this. There are not that many plugins as Alfred but Window Switcher is built-in.
-
LAN Mouse is a mouse and keyboard sharing software
For sharing a mouse/keyboard between Windows PCs, there is Mouse Without Borders. It's included in PowerToys nowadays.
https://github.com/microsoft/PowerToys
-
Hrvach/Deskhop: Fast Desktop Switching Device
- https://github.com/microsoft/PowerToys
-
How do I type letters with accent marks?
If you’re on Windows, download PowerToys. It’s an app published by Microsoft officially. Then enable Quick Accent in the settings of PowerToys. Now all you have to do is hold down the key you want accented until the switch shows up, then add an accent with your arrow keys.
-
Microsoft's Powertoys Key Manager now can paste text and unicode by shortcuts
microsoft/PowerToys: Windows system utilities to maximize productivity (github.com)
What are some alternatives?
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
Wox - A cross-platform launcher that simply works
scrcpy - Display and control your Android device
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
azurelinux - Linux OS for Azure 1P services and edge appliances
sharpkeys - SharpKeys is a utility that manages a Registry key that allows Windows to remap one key to any other key.
wsl-distrod - Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Flow.Launcher - :mag: Quick file search & app launcher for Windows with community-made plugins
genie - A quick way into a systemd "bottle" for WSL
Fluent-Search - Official repository for Fluent Search, use to report issues or ask for a new feature
vimspector - vimspector - A multi-language debugging system for Vim
T-Clock - Highly configurable Windows taskbar clock