Forrest logo
back to the xinput tool

xinput:tldr:1db6f

xinput: Disconnect an input from its master.
$ xinput float ${id}
try on your machine

The command "xinput float ${id}" is used to make an input device float (i.e., ignore its input) in the X Window System on Linux.

Here's a breakdown of the command components:

  • "xinput" is the name of the command-line utility used to configure and manipulate input devices in the X Window System.
  • "float" is an option or subcommand of "xinput" that specifies the action to be performed on the device.
  • "${id}" is a placeholder for the ID of the input device you want to float. You need to replace "${id}" with the actual ID of the device you want to float. The ID could be a number or a device name.

By executing this command with the appropriate device ID, the specified input device will be set to float, meaning it will no longer produce any input events when used, effectively disabling it.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xinput tool