Windows

42 readers
1 users here now

founded 1 year ago
MODERATORS
1
2
3
4
5
6
7
8
 
 
9
 
 

To swap the Caps Lock and Escape keys on Windows, there are several methods available. Here are some of them:

  1. Using PowerToys:
  • Download and install PowerToys from the Microsoft Github page.
  • Open PowerToys and browse to the Keyboard Manager.
  • Enable the Keyboard Manager and click Remap a key.
  • Choose Caps Lock -> Escape.
  1. Using PowerShell:
  • Open Windows PowerShell (Admin) by pressing Win + X.
  • Enter these commands:
$hexified = "00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00".Split(',') | % { "0x$_"};
$kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout';
New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified);
  • Save and reboot.
  1. Using AutoHotkey:
  • Download and install AutoHotkey.
  • Create a new script and add the following lines:
Capslock::Esc
Esc::Capslock
  • Save the script and run it.
  1. Using Uncap:
  • Download and run Uncap, an open-source tool that maps Caps Lock to Escape or any key to any key without setup or configuration files.

Note that some of these methods may require administrator privileges or the installation of third-party software.

10
 
 

On Manjaro Linux Cinnamon, I use the following settings configured via dconf:

dconf write /org/cinnamon/settings-daemon/peripherals/keyboard/delay "uint32 150"
dconf write /org/cinnamon/settings-daemon/peripherals/keyboard/repeat-interval "uint32 10" 

dconf write /org/cinnamon/settings-daemon/peripherals/mouse/motion-acceleration 6.0
dconf write /org/cinnamon/settings-daemon/peripherals/mouse/motion-threshold 2.0

Keyboard delay of 150 ms, repeat interval of 10 ms, mouse acceleration of 6.0, and motion threshold of 2.0.

How can I achieve similar settings on Windows 11?

Looking at the registry Computer\HKEY_CURRENT_USER\Control Panel\Keyboard I see that :

  • KeyboardDelay is set to 1.
  • KeyboardSpeed is set to 31.

I don't feel any changes when changing those values, I don't know if I should restart for them to apply.

For mouse I search for "pointer" in the Start menu and click on Change the mouse pointer display or speed but I can only change the speed. I don't see a setting to change acceleration. What is Enhance pointer precision?

How can I achieve similar settings on Windows 11? Any help would be appreciated!

11
 
 

I was surprised to see Signal above WhatsApp. It must be because this program is used more by techies. I've also learned about a few other chat programs like Rocket.Chat, I hadn't heard that one before.