I just wrote a post on how to use this to automatically disable/enable your laptop keyboard on plugging/unplugging your custom keyboard. Just one example.
In general, it allows you to set rules and automation about handling devices on the kernel level and comes with systemd (so most modern Linux distros have it by default, even Arch Linux)
I just wrote a post on how to use this to automatically disable/enable your laptop keyboard on plugging/unplugging your custom keyboard. Just one example.
In general, it allows you to set rules and automation about handling devices on the kernel level and comes with systemd (so most modern Linux distros have it by default, even Arch Linux)
https://fhoekstra.eu/posts/linux-disable-internal-laptop-keyboard-when-external-keyboard-plugged-in/