Linux Tools to Remap Keys and Mouse Buttons
From Free Knowledge Base- The DUCK Project: information for everyone
Various facilities available:
- xbindKeys - a program that grab keys and mouse button events in X and starts associated shell command. This is to make a key press do something, such as start a program.
- xbindkeys-config - a graphical front-end to xbindkeys.
- xmodmap - a program which remaps keys to various functions. xmodmap is a utility for modifying keymaps and pointer button mappings in Xorg. Use this to make a key press act as another key press. As of 2013, Ubuntu and derivatives no longer use xmodmap, but instead use xkb.
- xfce4-keyboard-settings - a graphical front-end in Xfce with an "Applications Shortcut" facility for mapping keys to various functions similar to xbindkeys-config, but not using xbindKeys.
- xinput - a utility to list available input devices, query information about a device and change input device settings.