Clone repository
git clone https://github.com/aniko33/MouseKeyX
Open folder
cd MouseKeyX
Run setup script:
bash setup.sh
The installation script will have created you the folder: .config/mousekeyx
, in this folder you can add configuration files.
files must be format: .xbindkeys
Configuration template:
"some_command"
b:button_number
You have to replace "some_command" with the command you want to run and then replace "button_number" with the number of the button you can get using xev (xev -event button | grep button
)
Sample configuration:
"xte 'key y'"
b:8
xte
is a Xorg tool for sending keyboard inputs