Skip to content

Instantly share code, notes, and snippets.

@cmcginty
Created April 29, 2017 09:41
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 cmcginty/60afd6772c654e9a639d1a8b187971d2 to your computer and use it in GitHub Desktop.
Save cmcginty/60afd6772c654e9a639d1a8b187971d2 to your computer and use it in GitHub Desktop.
Logitech Keyboard Mappings
if [ -n "${DISPLAY+x}" ]; then
  xmodmap -e "keycode 62 = Up"
  xmodmap -e "keycode 111 = Shift_R"
  xmodmap -e "add shift = Shift_R"
  xset r 62
  xset -r 111
  xmodmap -e "keycode 66 = Control_L"
  xmodmap -e "clear Lock"
  xmodmap -e "add Control = Control_L"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment