First we start by creating a wineprefix and installing our prerequisites from terminal:
WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks dotnet452 vcrun2010 corefontsWINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks win7| [alias] | |
| fixup = "!f() { \ | |
| git diff --cached --quiet && echo \"Nothing is staged\" && exit 1; \ | |
| fixup_commit=$(git log --oneline | fzf --height=40% --layout=reverse --prompt='git log>' --with-nth='2..' --preview='git show --color=always {1}'); \ | |
| echo \"Amending commit: $fixup_commit\"; \ | |
| fixup_commit_sha=$(echo $fixup_commit | awk '{print $1}'); \ | |
| git commit --fixup=$fixup_commit_sha; \ | |
| git rebase --update-refs --autosquash -i $fixup_commit_sha^1; | 
First we start by creating a wineprefix and installing our prerequisites from terminal:
WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks dotnet452 vcrun2010 corefontsWINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks win7| Getting the kernel code | |
| ----------------------- | |
| Download the kernel you want from here: | |
| https://github.com/microsoft/WSL2-Linux-Kernel/tags | |
| ``` | |
| cd /tmp | |
| wget "https://github.com/microsoft/WSL2-Linux-Kernel/archive/4.19.104-microsoft-standard.tar.gz" | |
| tar -xzvf 4.19.104-microsoft-standard.tar.gz | |
| ``` | 
| /** | |
| * USB HID Keyboard scan codes as per USB spec 1.11 | |
| * plus some additional codes | |
| * | |
| * Created by MightyPork, 2016 | |
| * Public domain | |
| * | |
| * Adapted from: | |
| * https://source.android.com/devices/input/keyboard-devices.html | |
| */ |