To bind the mouse buttons to key combinations we'll use the following tools:
- xbindkeys: a program that grab keys and mouse button events in X and starts associated shell command
- xev: a tool that prints contents of X events
- xdotool: command-line X11 automation tool that lets you programmatically (or manually) simulate keyboard input and mouse activity (and more)
In case you don't need to bind mouse buttons to keyboard keys, and all you want to bind to the mouse buttons are programs, commands or scripts, you can skip the installation of xdotool.
0 Comments