Skip to content

Instantly share code, notes, and snippets.

@edomaru
Last active October 5, 2023 20:52
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edomaru/5f6997cff92203824e43 to your computer and use it in GitHub Desktop.
Save edomaru/5f6997cff92203824e43 to your computer and use it in GitHub Desktop.
Enable or disable device on ubuntu 14.04

Enable or disable device on ubuntu 14.04

type xinput and see the device id

$ xinput

To disable device, type this line

$ xinput --disable xx xx adalah id device

To enable device, type this line

$ xinput --enable xx

@freefony
Copy link

freefony commented Dec 7, 2018

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment