|XTSSCALE(1)||General Commands Manual||XTSSCALE(1)|
xtsscaleis used interactively to calculate both the scaling and offset values which will make the pointer act at the indicated location on the screen.
The following options can be used:
$ xinput --list
to figure out the actual name for the X configuration. device can be omitted if there is only one X extension pointer with calibration properties in the system.
xtsscalewill use all heads in multi-head configurations, which is probably not what is expected. Use
to figure out the names of the outputs.
xtsscalewill be verbose, outputting various information, including the raw coordinate values produced, mostly for debugging purposes.
When good deviations are calculated from the selections made at
xtsscale will exit and provide on
standard output a result like the following:
This result should be placed into /etc/wsconsctl.conf for further use. The new calibration is automatically used by the X server. The calibration process can be interrupted at any time using the ESC key. In this case the current screen calibration data will not be modified.
xtsscalethe mode of the input device should be set to raw in the /etc/X11/xorg.conf X configuration file. See ws(4) for details.
/etc/wsconsctl.conf cannot currently be used to set the calibration data of a device that is not the first device. ( /dev/wsmouse0 )
xtsscalecommand appeared in OpenBSD 4.2.
|March 13, 2015||OpenBSD-current|