0

In this guide, we are going to help you calibrate your tablet touchscreen on Ubuntu 11.04 or later versions. This is necessary when your touchscreen lacks the accuracy to handle your touchscreen input.

Get Started

1. First of all, you have to install uTouch by running this command via the Terminal:

sudo apt-get install utouch

2. Install now xinput calibrator using this command:

sudo apt-get install xinput-calibrator

3. Run now xinput calibrator using the dash by searching "Calibrate Touchscreen":



4. Use now your stylus and tap the four red points displayed on screen:



5. In the resulting window, you will see calibration data (x and y coordinates).



You need to add this information (x and y coordinates) to your X11 configuration file for the default driver used by your system to manage Touchscreen input (evdev). To do this, follow these instructions:

1. Via the Terminal, run this command:

sudo gedit /usr/share/X11/xorg.conf.d/10-evdev.conf

2. Then locate the following lines:

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

3. Add now this line:

Option "Calibration"  "99 32772 257 33054"

Replace 99 32772 257 33054 with the calibration values you have got in Step 5. The code must be inserted like this:

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "Calibration"  "99 32772 257 33054"
EndSection



4. Save your file and close it, then restart your computer or log out the current session and log in back to restart X11. That's it!

Post a Comment

 
Top