Advertisement
mattmw

Remap Caps Lock to Ctrl

Aug 26th, 2014
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. #!/bin/bash
  2. ## Remap Caps Lock to Ctrl.
  3.  
  4. xmodmap -e 'keycode 66 = Control_L'
  5. xmodmap -e 'clear Lock'
  6. xmodmap -e 'add Control = Control_L'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement