keyd Setup
keyd provides system-wide keyboard remapping on Linux. The installation commands below are for Debian.
§Installation
1 | sudo apt install keyd |
Debian names the executable keyd.rvaiya because another package already provides a program named keyd. The service is still named keyd.
§Configuration
/etc/keyd/default.conf:
1 | [ids] |
§Commands
Reload the configuration after editing it:
1 | sudo keyd.rvaiya reload |
Print key events and device IDs for identifying key names:
1 | sudo keyd.rvaiya monitor |
Check whether the daemon is running:
1 | sudo systemctl status keyd |
Show keyd logs and configuration errors:
1 | sudo journalctl -eu keyd |
If a bad mapping makes the keyboard unusable, Backspace+Escape+Enter terminates keyd.