How are you guys, gals and catpeople doing this? Are you using Sway or Hyprland for this? Anyone else using udev already?

  • absGeekNZ@lemmy.nz
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    I used to do this on my touchscreen laptop, key combo to disable and 4 finger swipe to re-enable.

    Wrote a small script that used xinput, ran the script as above.

  • pixelprimer@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 days ago

    Seems like a silly solution but I just use evtest to disable the keyboard. Did a tiny bash script to disable and re-enable the keyboard by just tracking the pid

  • Sophienomenal@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    Personally? I just open up the laptop and disconnect the keyboard header. Of course, this only works if you only ever use a USB keyboard with the laptop, but thought I’d add it as a valid method.