Skip to content

Instantly share code, notes, and snippets.

@ysaito8015
Created December 3, 2013 06:23
Show Gist options
  • Save ysaito8015/7764727 to your computer and use it in GitHub Desktop.
Save ysaito8015/7764727 to your computer and use it in GitHub Desktop.
ubuntu 13.10 で capslock を ctrl へ変更する ref: http://qiita.com/ysaito8015@github/items/0fd4ec3076293bc372d4
% xmodmap -pke> "~/.xmodmap"
keycode 37 = Control_L NoSymbol Control_L #ctrl
keycode 66 = Caps_Lock NoSymbol Caps_Lock #caps lock
keycode 37 = Caps_Lock NoSymbol Caps_Lock
keycode 66 = Control_L NoSymbol Control_L
clear Lock
add Control = Control_L
xmodmap $HOME/.xmodmap
% . ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment