![Forrest logo](/images/logo.png)
xinput
xinput is a command line tool in Linux used for configuring input devices. It allows users to view and modify settings of various input devices such as keyboards, mice, touchpads, and joysticks connected to the system.
The tool provides information about the available input devices and their current settings, including device names, IDs, and associated properties like acceleration, sensitivity, button mapping, and coordinate transformation matrices.
With xinput, users have the ability to enable or disable devices, modify the properties of specific devices, or reassign buttons and axes according to their preferences. It also supports creating and loading device configuration profiles, which can be useful for customizing input settings on different systems or for different purposes.
Additionally, xinput can display real-time feedback on device events, aiding in troubleshooting or testing input devices. The utility also offers options for exporting device configurations to script files for automated setups or sharing settings with others.
Because xinput operates in the command line interface, it provides a versatile and efficient way to manage input devices, especially for advanced users, system administrators, or those who prefer working with text-based tools.
List of commands for xinput:
-
xinput:tldr:1db6f xinput: Disconnect an input from its master.$ xinput float ${id}try on your machineexplain this command
-
xinput:tldr:234df xinput: Enable an input.$ xinput enable ${id}try on your machineexplain this command
-
xinput:tldr:42d80 xinput: List all input devices.$ xinput listtry on your machineexplain this command
-
xinput:tldr:918ea xinput: Reattach an input as slave to a master.$ xinput reattach ${id} ${master_id}try on your machineexplain this command
-
xinput:tldr:9c7b1 xinput: List settings of an input device.$ xinput list-props ${id}try on your machineexplain this command
-
xinput:tldr:a0f9d xinput: Change a setting of an input device.$ xinput set-prop ${id} ${setting_id} ${value}try on your machineexplain this command
-
xinput:tldr:f2c12 xinput: Disable an input.$ xinput disable ${id}try on your machineexplain this command