User Tools

Site Tools


xinput_enable_disable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
xinput_enable_disable [2019/01/23 12:59]
pi
xinput_enable_disable [2019/01/23 13:03] (current)
pi
Line 1: Line 1:
-You can use **xinput** to float the input device under X.+You can use **''​xinput''​** to float the input device under X.
  
-  - Execute the command **xinput list** to list your input devices. +  - Execute the command **''​xinput list''​** to list your input devices. 
-  - Locate **AT Translated Set 2 keyboard** and take note of its **id** number; this will be used to disable the keyboard. Also, take note of the number at the end, **[slave keyboard (#)]**; this is the id number of the **master**, which will be used to re-enable your keyboard. +  - Locate **''​AT Translated Set 2 keyboard''​** and take note of its **''​id''​** number; this will be used to disable the keyboard. Also, take note of the number at the end, **''​[slave keyboard (#)]''​**; this is the id number of the **''​master''​**, which will be used to re-enable your keyboard. 
-  - To disable the keyboard, execute the command **xinput float <​id#>​**,​ where **<​id#>​** is your keyboard'​s id number. For example, if the **id** was **10**, then the command would be **xinput float 10**. +  - To disable the keyboard, execute the command **''​xinput float <id#>''​**, where **''​<id#>''​** is your keyboard'​s id number. For example, if the **''​id''​** was **''​10''​**, then the command would be **''​xinput float 10''​**. 
-  - To re-enable the keyboard, execute the command **xinput reattach <id#> <​master#>​**,​ where **master** is that second number we noted down. So if the number was **3**, you would do **xinput reattach 10 3**.+  - To re-enable the keyboard, execute the command **''​xinput reattach <id#> <​master#>​''​**, where **''​master''​** is that second number we noted down. So if the number was **''​3''​**, you would do **''​xinput reattach 10 3''​**.
  
 Here's a demonstration:​ Here's a demonstration:​
xinput_enable_disable.txt · Last modified: 2019/01/23 13:03 by pi