User Tools

Site Tools


windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows [2024/04/21 11:54] A User Not Logged inwindows [2025/07/17 06:33] (current) – [Registry] ealmr
Line 17: Line 17:
 </code> </code>
  
-use old style context menu:+use old style context menu on Windows 11:
  
   reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve   reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
Line 42: Line 42:
 "StandaloneHubsSidebarEnabled"=- "StandaloneHubsSidebarEnabled"=-
 </code> </code>
 +
 +disable Microsoft IME auto switch:
 +
 +<code>
 +[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\CHS]
 +"Enable Auto-Switch"=0
 +
 +[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\Common]
 +"Enable Auto-Switch"=0
 +</code>
 +====== WSL ======
 +
 +shrink VHD:
 +
 +  optimize-vhd -Path .\ext4.vhdx -Mode full
 +
 +to fix DISPLAY on Arch, create following systemd service:
 +
 +<code>
 +https://superuser.com/questions/1617298/wsl-2-running-ubuntu-x-server-cant-open-display/1834709#1834709
 +cat > /etc/systemd/system/wslg.service <<EOF
 +[Unit]
 +Description=symlink /tmp/.X11-unix
 +After=systemd-tmpfiles-setup.service
 +
 +[Service]
 +Type=oneshot
 +ExecStart=rmdir /tmp/.X11-unix
 +ExecStart=ln -s /mnt/wslg/.X11-unix /tmp/
 +
 +[Install]
 +WantedBy=sysinit.target
 +EOF
 +</code>
 +
 +enable this service:
 +
 +  systemctl enable wslg
windows.1713700497.txt.gz · Last modified: by A User Not Logged in

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki