Skip to content

Instantly share code, notes, and snippets.

Created January 14, 2011 05:53
交换键位
#!/bin/sh
xmodmap - <<EOF
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment