mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 14:31:13 +00:00
Website snapshot
This commit is contained in:
parent
ee0ab66d73
commit
50ec3688a5
281 changed files with 21066 additions and 0 deletions
30
content/blog/togglingxinput.md
Normal file
30
content/blog/togglingxinput.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: "Toggling X Input"
|
||||
date: 2020-01-07T20:46:32-05:00
|
||||
draft: false
|
||||
images: []
|
||||
---
|
||||
|
||||
On X, we can easily enable or disable input devices using the `xinput` command. This is a great use case when you're tired of accidentally hitting the red Thinkpad nub or having your palm be recognized when drawing with a pen.
|
||||
|
||||
Running the `xinput` command performs the action temporarily. Your default settings will be restored upon a reboot.
|
||||
|
||||
To list `xinput` devices run:
|
||||
|
||||
```bash
|
||||
xinput
|
||||
```
|
||||
|
||||
To disable a device:
|
||||
|
||||
```bash
|
||||
xinput disable [id]
|
||||
```
|
||||
|
||||
To enable a device:
|
||||
|
||||
```bash
|
||||
xinput enable [id]
|
||||
```
|
||||
|
||||
The ids are listed when you list the devices.
|
Loading…
Add table
Add a link
Reference in a new issue