Kali/Keyboard: Difference between revisions
From charlesreid1
(Created page with "Remap keyboard: use caps lock as a control key Edit <code>/etc/default/keyboard</code> to include the line: <pre> XKBOPTIONS="ctrl:nocaps" </pre> Then reconfigure the curre...") |
No edit summary |
||
| Line 1: | Line 1: | ||
==Remapping Caps Lock to Control Key== | |||
Remap keyboard: use caps lock as a control key | Remap keyboard: use caps lock as a control key | ||
| Line 18: | Line 20: | ||
/usr/bin/setxkbmap -option "ctrl:nocaps" | /usr/bin/setxkbmap -option "ctrl:nocaps" | ||
</pre> | </pre> | ||
==Flags== | |||
{{KaliFlag}} | |||
Revision as of 03:49, 1 December 2019
Remapping Caps Lock to Control Key
Remap keyboard: use caps lock as a control key
Edit /etc/default/keyboard to include the line:
XKBOPTIONS="ctrl:nocaps"
Then reconfigure the current keyboard layout with the command:
dpkg-reconfigure keyboard-configuration
or alternatively, set the option from the command line with the command:
/usr/bin/setxkbmap -option "ctrl:nocaps"
Flags