On 2 May 2017 at 18:36, Jan Bos <rappyrip...@gmail.com> wrote:

> I tried to install 'xinput-calibrator' to calibrate the touchscreen but
> when I enter in my terminal window:
>
> 'sudo apt-get install xinput-calibrator' I get the following feedback:

I have it on my Wheezy machine, but even after enabling backports I
can't find it in Synaptic on my test VM.

So, I assume I got it direct from:
https://www.freedesktop.org/wiki/Software/xinput_calibrator/

I seem to remember it only being a partial success anyway. For example
it gets confused if you already have an Xorg.conf file with a
touchscreen calibration in it.

This is the relevant section from my Xorg.conf. You could just try it as-is.

Section "InputClass"
    Identifier "calibration"
    MatchProduct "eGalax Inc. Touch"
    Option "Calibration" "1565 265 259 1590"
    Option "SwapAxes" "1"
EndSection

It is possible to calibrate the screen iteratively by changing the
numbers by hand. Don't ask me how I know.

The manpage says

Option "Calibration" "min-x max-x min-y max-y"
Calibrates the X and Y axes for devices that need to scale to a
different coordinate system than reported to the X server. This
feature is required for devices that need to scale to a different
coordinate system than originally reported by the kernel (e.g.
touchscreens). The scaling to the custom coordinate system is done
in-driver and the X server is unaware of the transformation. Property:
"Evdev Axis Calibration".

There is a good chance that my file will make things worse for you, as
it looks like my problems included an axis swap as well as in inverted
X. But I think that, by changing those 4 numbers, you can sort things
out. You will note that my min-x is larger than my max-x. That is one
way to flip the axis. The other way is to use

Option "InvertX" "Bool"
Option "InvertY" "Bool"

(All from https://www.x.org/archive/X11R7.5/doc/man/man4/evdev.4.html )

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to