I'm looking for a way to see all the devices (e.g. touchpad etc.) and to enable/disable them.
Asked
Active
Viewed 8,626 times
0
2 Answers
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

Tejas Lotlikar
- 2,945
- 5
- 17
- 26

user1134613
- 31
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
- 88,010
-
Hi @vanadium thank you so much for the clarification about the Linux's world. – Gennaro Arguzzi Dec 29 '19 at 16:08
-
My pleasure - a simple answer, but sometimes that is OK to see things differently. – vanadium Dec 29 '19 at 17:56
sudo apt install inxi
. You can get a lot of information with it. See here. – DK Bose Dec 29 '19 at 13:50