====== Registry ======
Windows Registry Editor Version 5.00
; enable LastActiveClick
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"LastActiveClick"=dword:00000001
;set window title bar height
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"CaptionHeight"="-330"
;map capslock to escape
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,46,00,01,00,3a,00,00,00,00,00
use old style context menu on Windows 11:
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
set highlight background and text color:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Colors]
"Hilight"="0 120 215"
"HilightText"="255 255 255"
disable Microsoft Edge copilot button:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"HubsSidebarEnabled"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"StandaloneHubsSidebarEnabled"=-
disable Microsoft IME auto switch:
[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\CHS]
"Enable Auto-Switch"=0
[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\Common]
"Enable Auto-Switch"=0
====== WSL ======
shrink VHD:
optimize-vhd -Path .\ext4.vhdx -Mode full
to fix DISPLAY on Arch, create following systemd service:
https://superuser.com/questions/1617298/wsl-2-running-ubuntu-x-server-cant-open-display/1834709#1834709
cat > /etc/systemd/system/wslg.service <
enable this service:
systemctl enable wslg