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?

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    6 days ago

    Yup, udev is the right tool for this. I’d just put the script in /usr/local/bin, where it belongs.