Saturday, June 4, 2011

Calibrate Touchscreen on Toughbook

There's a great program called xinput_calibrator which will correctly calibrate touchscreens on Toughbooks. Latest version can be found at: freedesktop.org - Software/xinput_calibrator. You can also install via the Software Center and then it will appear under System Administration | Calibrate Touchscreen. I couldn't get the program to run properly from the menu system but the comand line ran just fine from the Terminal. To ensure the settings stick you'll need to run the utility, calibrate the screen (eg: touch the four x's) then make sure you copy the output from Terminal. Once you've done that you'll need to edit /etc/X11/xorg.conf:

sudo gedit /etc/X11/xorg.conf

just paste the output from the calibration utility anywhere in the file. Mine looked something like this:

Section
"InputClass"
Identifier "calibration" MatchProduct "LBPS/2 Fujitsu Lifebook TouchScreen" Option "Calibration" "301 3941 270 3614"
EndSection


Thanks to the following sites:
http://forum.notebookreview.com/panasonic/524581-ubuntu-10-10-toughbook-version.html#post6788771
http://askubuntu.com/questions/4662/where-is-the-x-org-config-file-how-do-i-configure-x-there

No comments:

Post a Comment