EnglishFrenchSpanish

OnWorks favicon

xinput_calibrator - Online in the Cloud

Run xinput_calibrator in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xinput_calibrator that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xinput_calibrator - A generic touchscreen calibration program for X.Org

SYNOPSIS


xinput_calibrator [OPTIONS]

DESCRIPTION


xinput_calibrator is a program for calibrating your touchscreen, when using the X Window
System.

It currently features:
- works for any standard Xorg touchscreen driver (uses XInput protocol)
- mis-click detection (prevents bogus calibration)
- dynamically recalibrates the evdev driver
- outputs the calibration as xorg.conf.d snippet or HAL policy file
- and more

see http://www.freedesktop.org/wiki/Software/xinput_calibrator

OPTIONS


-h, --help
Print a help message listing the version and available options.

-v, --verbose
Print debug messages during the process.

--list List the calibratable input devices.

--device device_name_or_id
Select a specific device to calibrate; use --list to list the calibratable input
devices.

--precalib min_x max_x min_y max_y
Manually provide the current calibration setting.
This is useful if the calibration values are stored in your xorg.conf, but the
driver does not export them through XInput (eg. the calibrator can not know these
values)

--misclick nr_of_pixels
set the misclick threshold (0=off, default: 15 pixels)

--no-timeout
turns off the timeout

--output-type auto|xorg.conf.d|hal|xinput
type of config to output (auto=automatically detect, default: auto)

--fake Emulate a fake driver (for testing purposes)
Useful to test the calibrator without applying the values, and possibly even
without having a touchscreen.

--geometry widthxheight
Manually provide the geometry (width and height) for the calibration window.

USAGE


Run xinput_calibrator in a terminal, as it prints out the calibration values and
instructions on standard output.

After clicking the 4 calibration points, xinput_calibrator will calculate the new
calibration values. Depending on the Xorg touchscreen driver you use, the new values can
be made permanent in different ways:

Evdev:
Automatically recalibrates the driver for this session,
Supports following --output-types: auto, xorg.conf.d, hal, xinput

Usbtouchscreen:
Automatically recalibrates the *kernel module*, saved in /etc/modprobe.conf.local
Supports following --output-types: auto

Other Xorg touchscreen drivers:
No automatic calibration possible,
Supports following --output-types: auto, xorg.conf.d, hal

EXAMPLES


To run the calibrator, type in your terminal:

xinput_calibrator

If something goes wrong, or not as expected, turn on verbose messages:

xinput_calibrator -v

If you have to manually provide the current calibration values (when using EVDEV, you can
use this to reset the calibration first):

xinput_calibrator --precalib 0 1000 0 1000

TROUBLESHOOTING


In general, run the calibrator with the -v option, it will tell you what happens and what
goes wrong.

Mis-click detection, the calibrator can automatically detect clicks with unreasonable
values. This prevents you from ending up with a bogus calibration.

If you keep getting the message 'Mis-click detected, restarting...', one of the following
is happening:
1. you are bad at clicking on crosses, use a stylus or increase the --misclick threshold
2. your device is not properly supported by the kernel, it interprets the clicks wrong
3. your screen has a non-linear deformation, 4-point calibration can not help you

Use xinput_calibrator online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad