0

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

7
  • Please see vanadium's answer. We like questions that deal with one specific issue.
    – DK Bose
    Dec 29, 2019 at 12:49
  • I am not sure if it fits your needs, but you can have a look at: help.ubuntu.com/community/HardInfo
    – FedKad
    Dec 29, 2019 at 13:16
  • One convenient tool is inxi. You can install it using sudo apt install inxi. You can get a lot of information with it. See here.
    – DK Bose
    Dec 29, 2019 at 13:50
  • Hello @DKBose, which option should I consider to disable touchscreen in inxi? Dec 29, 2019 at 15:50
  • 1
    @GennaroArguzzi that would be a good question to ask by posting a new question like "How do I disable my touchscreen in Ubuntu 19.10". inxi only provides information. It is not an interface for altering settings. By the way, I searched for "disable touchscreen in Ubuntu" and found this: tomordonez.com/disable-touchscreen-ubuntu.html. Does it help? See askubuntu.com/questions/198572/… as well.
    – DK Bose
    Dec 29, 2019 at 15:56

2 Answers 2

2

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.

2
  • Hi @vanadium thank you so much for the clarification about the Linux's world. Dec 29, 2019 at 16:08
  • My pleasure - a simple answer, but sometimes that is OK to see things differently.
    – vanadium
    Dec 29, 2019 at 17:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.