I use Logitech Mouse M705 so I get extra mouse buttons to bind to desired functions.
You need xev, xbindkeys and xdotool installed.
Run to find out the current keyboard/mouse key number:
| #!/bin/bash | |
| ## List all manually installed packages on a debian/ubuntu system | |
| ## manually installed means: | |
| ## 1. not pre-installed with the system | |
| ## 2. not marked auto-installed by apt (not dependencies of other | |
| ## packages) | |
| ## Note: pre-installed packages that got updated still needs to be | |
| ## filtered out. |