xmodmap
Utility for modifying keymaps and pointer button mappings in X. More information: https://manned.org/xmodmap.
- Swap
<LeftClick>and<RightClick>on the pointer:
xmodmap -e 'pointer = 3 2 1'
- Reassign a key on the keyboard to another key:
xmodmap -e 'keycode = '
- Disable a key on the keyboard:
xmodmap -e 'keycode ='
- Execute all xmodmap expressions in the specified file:
xmodmap
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
