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/02/21 08:58] 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
 +  
 +set highlight background and text color:
 +
 +<code>
 +Windows Registry Editor Version 5.00
 +
 +[HKEY_CURRENT_USER\Control Panel\Colors]
 +"Hilight"="0 120 215"
 +"HilightText"="255 255 255"
 +</code>
 +
 +disable Microsoft Edge copilot button:
 +
 +<code>
 +Windows Registry Editor Version 5.00
 +
 +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
 +"HubsSidebarEnabled"=-
 +
 +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
 +"StandaloneHubsSidebarEnabled"=-
 +</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.1708505927.txt.gz · Last modified: by A User Not Logged in

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki