0

I'm looking for a way to see all the devices (e.g. touchpad etc.) and to enable/disable them.

DK Bose
  • 44,553

2 Answers2

3

type xinput and see the device id

$ xinput

To disable the device, type this line

$ xinput --disable xx xx adalah id device

To enable device, type this line

$ xinput --enable xx

See:https://gist.github.com/edomaru/5f6997cff92203824e43

1

Linux works different than Windows, and as such, a unified place to enable/disable devices is not available. This is also due to different mechanisms that drivers my use. Some drivers come directly with the kernel and can (or cannot) be disabled by blacklisting modules. Other drivers are working on Xorg and can be enabled/disabled by configuration files or installing/removing packages, etc.

If you have a specific need to disable a device, post here and specific answers for your device may be given.

vanadium
  • 97,564