![]() You can also press the Type Key button and press a key on your keyboard if you have trouble hunting it down in the list. The left column denotes the key you'll press (for example, the Caps Lock key) and the right column denotes the action that key will take (for example, acting as the Windows key). To remap a key, click the Add button and choose your keys from the two columns. You don't need to rely on some other software as a middleman, and you'll run into the fewest compatibility issues, since Windows itself is interpreting the keystrokes.ĭownload the program from the Microsoft Store and start it up. This makes it the best option for these kinds of one-to-one key remappings. If you merely want to remap one key to another, SharpKeys is a simple, open-source program that uses the Windows registry. Switch Individual Keys With SharpKeys SharpKeys If you ever want to remove any, just click the trash can icon next to the listing and delete it. ![]() So instead of hitting Ctrl + C to copy, you can assign that shortcut to the left Alt button on your keyboard.Īdd as many remapped keys or shortcuts as you need, then click OK at the top of the page to save the changes. Click the + button, then set the key and map it to a specific action. Install the program from its GitHub page and open the Power Toys Settings page from the Windows System Tray.Ĭlick Keyboard Manager, then select Remap a key to re-assign individual keys or Remap a shortcut to assign hotkey combinations to a single key. Somewhere in the maze of output is "keycode = 133" (with a different number)).Don't trust a third-party developer? The easiest way to remap your keyboard is through Microsoft PowerToys, a set of utilities (including keyboard customization) designed for power users. If you need to change one Super_L to Super_R, first find the keycode you want to be associated to Super_R (aren't sure which is the correct one? Run xev then tap the right Super a couple times. This number is the physical keycode of the key on your keyboard (it can vary by model). The key names in the table all have a hex number in parentheses next to them. (NB: it might give you several Super_L and at least one Super_R. If it did, you now have several extra keys assigned to Control, but none assigned to Super. The output of xmodmap -pm might given you several keys named Super_L but none named Super_R). ![]() If you want to undo this later on, just run the same commands with the appropriate arguments. Run the xmodmap command: add control = Super_L Now the physical key is still referred to internally as Super_L, but it doesn't do anything. Run the xmodmap command (using one of the methods above) remove mod4 = Super_L Super_L and Super_R are separate keys which output the same modifier. On my machine (and presumably yours) Super is referred to as mod4. Run xmodmap -pm in a terminal window to get a list of the bound modifiers. First you unmap Super from its modifier, then you map it to control. What you want to do is a two-step process. If you name the file ~/.xmodmap it will be executed automatically on login. xmodmaprc, then execute it in your login items or your. There are a couple ways to execute the changes:Įither from the command line xmodmap -e "your commands" To make major changes to your keyboard, including remapping characters and changing modifiers, you need to use the xmodmap utility - see man xmodmap.
0 Comments
Leave a Reply. |