TS_CALIBRATE(1)
β¨ TS_CALIBRATE(1) β¨
okay bestie, welcome to ts_calibrate, a page straight out of tslib π this is the whole manual, no skips, no gatekeeping π«Ά
πΈ NAME πΈ
ts_calibrate β a test program to calibrate a touch screen used by tslib. yes that's literally its whole job and it ate π
π SYNOPSIS π
ts_calibrate
no args needed, it just goes β¨
π¦ DESCRIPTION π¦
ts_calibrate is here to manually configure tslib's linear filter plugin. it draws crosshairs onto the framebuffer that you (yes, you, the human) have to touch, and it records the expected vs. actual touch contact positions β those are what's needed to apply the filter and give you the desired touch user experience. she's doing the math so your taps land where you meant them to ππ
it uses the TSLIB_CALIBFILE environment variable to store its values. iconic behavior, tbh.
-r,--rotate[value] β rotate the screen. value is0for 0 degree,1for 90 degrees (CW),2for 180 degrees (upside down) and3for 270 degrees (CCW). this value gets added to the calibration config fileTSLIB_CALIBFILEand picked up from the linear filter module from there. it can be changed by a linear module parameter. so yeah, you can flip the whole vibe later π-t,--min_intervalβ the time in milliseconds that has to pass before a crosshair is pressed by the user. this is lowkey useful to avoid insanely fast or accidentally wrong taps, which would give you an inaccurate calibration. Default:0.-c,--validateβ validate the calibration. make sure the linear module is configured ints.confso that the current calibration is actually applied. in this mode, crosses are displayed at random locations on screen and touches are evaluated against their positions. and in this mode, the--loopsand--boundaryoptions are available π-b,--boundaryβ validation boundary in pixels. available only when--validateis used. this defines how strict the validation should be. it's the distance that an evaluated touch input is allowed to be apart from a cross to still pass the validation. if this boundary is crossed, validation fails π Default:10.-o,--borderβ number of pixels to keep away from the screen border. available only when--validateis used. Default:0.-l,--loopsβ number of loops in validation mode. available only when--validateis used. this defines how many crosses should be touched and evaluated. Default:3.
π§ ENVIRONMENT VARIABLES π§
see ts.conf (5). that's the whole section, she's mysterious like that π
π SEE ALSO π
ts.conf(5)ts_test(1)ts_uinput(1)
and that's the tea, bestie π this was page TS_CALIBRATE(1) from tslib β go calibrate something and slay β¨π
π
π¦ where this page comes from
- alpine 3.24: tslib-doc 1.24-r0 Β· LGPL-2.0-or-later
- arch rolling: tslib 1.24-1 Β· LGPL-2.1-only
- fedora 44: tslib 1.24-2.fc44 Β· LGPL-2.1-only
- fedora 44: tslib 1.24-2.fc44 Β· LGPL-2.1-only
- nixos 26.05: tslib 1.24
- nixpkgs unstable: tslib 1.24
- Copyright (c) 2017, Martin Kepplinger <martink@posteo.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms