start new:
tmux
start new with session name:
tmux new -s myname
Credits | |
# https://c-nergy.be/blog/?p=13655 | |
# https://askubuntu.com/questions/844245/how-to-compile-latest-pulseaudio-with-webrtc-in-ubuntu-16-04 | |
# https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list | |
# https://unix.stackexchange.com/questions/65167/enable-udev-and-speex-support-for-pulseaudio | |
# https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users | |
# https://gist.github.com/rkttu/35ecab5604c9ddc356b0af4644d5a226 | |
# Installation and Enhanced session | |
# follow steps on the post below, I installed Ubuntu 22.04 on a Windows 11 machine |
# this is one of Stéphane BARIZIEN's public domain scripts | |
# the most recent version can be found at: | |
# https://gist.github.com/sba923/7924b726fd44af91d18453ee595e6548#file-convertfrom-wingetstdout-ps1 | |
#requires -version 7 | |
# This crude script converts the output of the winget.exe executable into an array of PowerShell objects | |
# usage: winget <args> | ConvertFrom-WingetStdout.ps1 | |
# | |
# examples of application: |
This guide will enable systemd
to run as normal under WSL 2. This will enable services like microk8s
, docker
and many more to just work
during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.
To enable systemd
under WSL we require a tool called systemd-genie
Copy the contents of install-sg.sh
to a new file /tmp/install-sg.sh
:
PrjClearNegativePathCache, 1, 0x3820 | |
PrjCloseFile, 2, 0x2800 | |
PrjCommandCallbacksInit, 3, 0x3d20 | |
PrjCompleteCommand, 4, 0x34e0 | |
PrjConfigureVolume, 5, 0x52b0 | |
PrjConvertDirectoryToPlaceholder, 6, 0x1330 | |
PrjCreatePlaceholderAsHardlink, 7, 0x1ea0 | |
PrjDeleteFile, 8, 0x3120 | |
PrjDetachDriver, 9, 0x5110 | |
PrjDoesNameContainWildCards, 10, 0x5810 |