Skip to content

Instantly share code, notes, and snippets.

@cristenicu
Created August 27, 2018 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cristenicu/547f80f5c68060f7c330005aa2a01810 to your computer and use it in GitHub Desktop.
Save cristenicu/547f80f5c68060f7c330005aa2a01810 to your computer and use it in GitHub Desktop.
Remap CAPSLOCK to ENTER (Linux)
clear lock
keycode 66 = KP_Enter
  • Install Xmodmap
  • Edit ~/.Xmodmap
@i-zanis
Copy link

i-zanis commented Jul 19, 2021

Hello Cristen,

Does this work for you? It doesn't work outside of the terminal and inside the terminal it fires KP_Enter on every button press.

Have you found any work around of this mapping?

Kind regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment