Test: node2718""answers_question De/activate touchpad on linux | TechScreen Revised

De/activate touchpad on linux

Often the integrated Fn-Button on Notebook-Keyboards does not work when some linux is installed since the notebook manufacturer didn't provide the necessary drivers. The goal is to provide a fairly easy way to de/activate the touchpad when needed (i.e. when a mouse is plugged in).
1 answer

Write an executable bash-script

This article solves the following challenge: 

De/activate touchpad on linux

The script goes as follows
xinput set-int-prop 'name_of_device' "Device disabled" 8 0

to disable the touchpad or
xinput set-int-prop 'name_of_device' "Device enabled" 8 1

to enable it (replace name_of_device with the name of your device, keep the ').
The scripts should be saved as a .sh files at a location of convinience.
To find the name of the device to dis/enable write
xinput --list
into a terminal. Now identify the right device.
To be able to easily execute your file maneuver to its location with the terminal then write
chmod +x filename
where filename is the name of your file.
From that point it is enough to type
into the terminal at the file's location.

Evaluate complexity of present statement:

Select ratingCancelGuessingPassing knowledgeKnowledgeableExpert

Your rating: 2 Average: 2.5 (2 votes)