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?

  • rhythmisaprancer@piefed.social
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    13 days ago

    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.

    • fhoekstra@feddit.nlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      My laptop didn’t have a key for that, so I ended up gluing together this universal Linux solution.