Skip to content
Make CapsLock act as Escape and Ctrl
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information. initial commit Apr 5, 2013 initial commit Apr 5, 2013
xmodmaprc initial commit Apr 5, 2013

Make Caps Lock work as Control and Escape

This handy script makes CapsLock emit Escape's keycode if pressed alone, but when used in conjunction with another key it emits Ctrl.

(actually right now this makes CapsLock be like left-control and both left-control and CapsLock now have the awesome dual roles of Escape and Ctrl)



Apparently xmodmap is deprecated. I don't know how to use the new thing but it is probably more portable. Read this:

You can’t perform that action at this time.