Kmonad doesn’t work without some permissons and rules out of the box, this script handles that for you. Additionally it enables layout at startup.
If you have non-systemd init system, see
- Change input device in
colemak-dh-YOURLAYOUT.kbd
file.- If you use USB keyboard, search for
*-kbd
device in/dev/input/by-id/
- If you use Laptop keyboard, search for
*-kbd
device in/dev/input/by-path/
- If you use USB keyboard, search for
input (device-file "/dev/input/by-id/YOURDEVICE-kbd")
- In the
setup.sh
, replace/path-to
with the full path tocolemak-dh-YOURLAYOUT.kbd
CONFIG_FILE="/path-to/colemak-dh-YOURLAYOUT"
- Run
setup.sh
sudo ./setup.sh