Do you also find yourself wanting to use your custom keyboard while travelling with your Linux laptop? Without triggering keypresses through the built-in keyboard underneath of course!
I’ll first show you how to disable the built-in laptop keyboard with a bash script. And then automatically disable the laptop keyboard when, and only when, your custom keyboard is plugged in, and enable it again when your custom keyboard is unplugged.
How are you guys, gals and catpeople doing this? Are you using Sway or Hyprland for this? Anyone else using udev already?
Seems like a silly solution but so just use evtest to disable the keyboard. Did a tiny bash script to disable and re-enable the keyboard by just tracking the pid
Seems like a silly solution but so just use evtest to disable the keyboard. Did a tiny bash script to disable and re-enable the keyboard by just tracking the pid