Ask Your Question
0

How do I calibrate my touchscreen? (Dell ST2220T)

asked 2012-08-22 22:50:34 -0500

kirkb gravatar image

updated 2014-09-30 06:56:50 -0500

mether gravatar image

When I plug my ST2220T into my F17 system it is properly recognized, however the touch parts are not calibrated.

I installed xinputcalibrator and ran it (Calibrate Touchscreens app). I am able to successfully touch each calibration point such that xinputcalibrator seems to finish and provides me with an xinput line that I am supposed to use in a startup script.

However xinput_calibrator opens a terminal to give me this command, and then seems to hang waiting for something. Am I supposed to just close the terminal?

If I open a terminal and run the suggested xinput command the touchscreen is most certainly not calibrated. Do I need to add this to a startup script (which ones are going to work?) and restart to enable the calibration?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-08-08 08:27:06 -0500

spot gravatar image

This is an old ticket, but it has a lot of views, so I'm going to answer for Fedora 20.

xinput_calibrator is the right tool to manually calibrate your touchscreen, but you will want to change the output format to xorg.conf.d, like this:

xinput_calibrator --output-type xorg.conf.d

Then, take the resulting output and copy it into a file in /etc/X11/xorg.conf.d (e.g. 20-touchscreen.conf)

When X is restarted (simplest way to do that is to reboot), your touchscreen should be calibrated.

edit flag offensive delete link more
0

answered 2015-11-15 07:32:12 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Has there been a change to xorg configuration between Fedora 20 and Fedora 22 ?

I am trying to do the same for Fedora 22 and xinput_calibrator seems to work fine, but then I run into problem:

xorg.conf.d file that I added simply does not work?

To be exact I got two different suggestions for the config file (from xinput_calibrator):

[root@localhost andy]# cat /etc/X11/xorg.conf.d/20-touchscreen.conf
Section "InputClass"
    Identifier  "calibration"
    MatchProduct    "Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U"
    Option  "Calibration"   "-3567 69330 -6161 70704"
EndSection

and

cat /etc/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
    Identifier  "calibration"
    MatchProduct    "Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U"
    Option  "MinX"  "66481"
    Option  "MaxX"  "-2330"
    Option  "MinY"  "67172"
    Option  "MaxY"  "-3526"
EndSection

I rebooted Fedora for each of these files/tries - but it seems that they simply are ignored by X11/xorg. The X-axis and Y-axis coordinates are still reversed.

Also when I try another method of direct setting of xinput via command, I get the following error: ERROR: XorgPrint Calibrator does not support the supplied

[root@localhost andy]# xinput_calibrator --device "Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U"   --output-type xinput

Calibrating standard Xorg driver "Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U"
    current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
    If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).

 Making the calibration permanent 
ERROR: XorgPrint Calibrator does not support the supplied --output-type
Error: unable to apply or save configuration values
[root@localhost andy]
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-08-22 22:50:34 -0500

Seen: 4,987 times

Last updated: Nov 15 '15