libinput-m...-touch-size(1)
β¨ NAME β¨
libinput-measure-touch-size β bestie, this thing measures the touch size and orientation of devices π«Ά
(also hi, you're reading page libinput-m...-touch-size(1) from the General Commands Manual, and she's iconic)
πΈ SYNOPSIS πΈ
libinput measure touch-size [--help] [options] [/dev/input/event0]
π¦ DESCRIPTION π¦
okay so. The libinput measure touch-size tool measures the size and orientation of a touch, exactly as the kernel hands it over. no cap.
This is an interactive tool, and the way that it works is: when you run it, it literally prompts you to go interact with the touch device π . Then on termination β yes, when it's done β it prints a summary of the values it saw. And the whole point? This data should be attached to any touch-size-related bug report. Like, if you're filing a touch-size bug, this summary is your little gift to the maintainers π
β οΈ bestie, listen. This is a debugging tool only, and its output may change at any time. Do not rely on the output. periodt.
Also, this tool usually needs to be run as root so it can actually get at the /dev/input/eventX nodes. it's giving permission issues otherwise, fr fr π
π OPTIONS π
So if you give it a device node, this tool opens that device node. Otherwise? It goes hunting and searches for the first node that looks like a touch-capable device, and uses that one. main character energy, honestly π
--helpβ Print help. that's it, that's the whole vibe β¨--touch-thresholds="down:up"β Set the logical touch size thresholds to down and up, respectively. Here's the tea: when a touch exceeds the size in down, it is considered logically down. And if a touch is logically down and then goes below the size in up, it's considered logically up. The thresholds have to be in device-specific pressure values, and it is required thatdown >= up. (yes, required.downcan be equal toup, but it cannot be smaller, don't try it π)--palm-threshold=Nβ Assume a palm threshold ofN. The threshold has to be in device-specific pressure values too. palms stay losing ποΈπ
π«Ά and if the touch-thresholds or the palm-threshold are not provided, this tool uses the thresholds provided by the device quirks (if any) or the built-in defaults. so like, it's got a fallback. she's prepared.
π LIBINPUT π
Part of the libinput(1) suite. yep, she runs with a whole crew π
okay that's the whole page bestie!! footer says libinput-m...-touch-size(1), straight out of the General Commands Manual, and it's literally the same title as the top because the manpage said so. no date on this one, we're keeping it mysterious π π
π¦ where this page comes from
- alpine 3.24: libinput-doc 1.31.3-r0 Β· MIT
- arch rolling: libinput-tools 1.32.0-1 Β· MIT
- centos-stream 10: libinput-utils 1.30.1-2.el10 Β· MIT
- centos-stream 9: libinput-utils 1.19.3-8.el9 Β· MIT
- debian bookworm: libinput-tools 1.22.1-1+deb12u1 Β· MIT
- debian trixie: libinput-tools 1.28.1-1+deb13u1 Β· MIT
- fedora 43: libinput-utils 1.29.1-1.fc43 Β· MIT
- fedora 43: libinput-utils 1.30.3-1.fc43 Β· MIT
- fedora 44: libinput-utils 1.31.0-1.fc44 Β· MIT
- fedora 44: libinput-utils 1.31.3-1.fc44 Β· MIT
- nixos 26.05: libinput 1.31.3
- nixpkgs unstable: libinput 1.31.3
- opensuse-leap 16.0: libinput-tools 1.28.1-160000.3.1 Β· MIT
- opensuse-leap 16.0: libinput-tools 1.28.1-160000.3.1 Β· MIT
- opensuse-leap 16.0: libinput-tools 1.28.1-160000.3.1 Β· MIT
- opensuse-leap 16.0: libinput-tools 1.28.1-160000.3.1 Β· MIT
- ubuntu jammy: libinput-tools 1.20.0-1 Β· MIT
- ubuntu jammy: libinput-tools 1.20.0-1ubuntu0.4 Β· MIT
- ubuntu noble: libinput-tools 1.25.0-1ubuntu2 Β· MIT
- ubuntu noble: libinput-tools 1.25.0-1ubuntu3.7 Β· MIT
- ubuntu questing: libinput-tools 1.28.1-1build1
- ubuntu questing: libinput-tools 1.28.1-1ubuntu0.4
- ubuntu resolute: libinput-tools 1.31.1-1 Β· MIT
- ubuntu resolute: libinput-tools 1.31.1-1ubuntu1.2 Β· MIT
- ubuntu stonking: libinput-tools 1.31.3-1ubuntu1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms