- cross-posted to:
- mechanicalkeyboards@lemmy.ml
- cross-posted to:
- mechanicalkeyboards@lemmy.ml
cross-posted from: https://feddit.nl/post/49130941
How to disable Linux laptop keyboard when custom keyboard is plugged in
How are you guys doing this? Are you using Sway or Hyprland for this? Anyone else using udev already?


I have never plugged a keyboard into my Linux laptop, but it does have a function key to turn the keyboard off. So did my last one. I use a windows laptop for work and that keyboard does not turn off when an external keyboard is plugged in FWIW.
My laptop didn’t have a key for that, so I ended up gluing together this universal Linux solution.