Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have a dual monitor setup of two different sizes. My primary monitor is a 23 in widescreen Acer T230H touchscreen, and the second is a regular 20 in. When I go to use the touchscreen, the cursor shows up on the secondary display depending on where I touch the display. How do I calibrate it to only control my primary monitor?

share|improve this question
Anyone? It has been three months. Anyone that can help me calibrate my touchscreen would be of great help. –  ITman Oct 12 '11 at 19:20

3 Answers 3

up vote 2 down vote accepted

Have you tried using xinput-calibrator?

share|improve this answer
Dude... You are beautiful! Thanks. –  ITman Dec 7 '11 at 16:49

Very hard to find solution but actually pretty straight forward, just follow the answer from 'phnomic' here: Touchscreen and additional external monitor. Works flawless with my Fujitsu T730 with all kinds of external monitors!

share|improve this answer
To people facing this problem, I would highly recommend this solution. I think it is cleaner and quicker than the accepted answer. –  Tomas Jan 21 '13 at 12:28
This uses xsetwacom, which I presume only works for Wacom devices? However there is a generic xinput map-to-output <device> <output> which is similar in spirit. –  Beni Cherniavsky-Paskin May 10 '13 at 2:35

As Beni Cherniavsky-Paskin suggested in a comment, I used the following command to map an input device to an output screen:

xinput map-to-output <device> <output>

To figure out which is which, I first ran xinput to list the input devices. From that listing, I observed that my touchscreen was "QUANTA Optical Touch Screen" and listed as device id 12. I then ran xrandr to determine the touchscreen, which in my case was VGA1.

Simply entering the following command then did the trick:

xinput map-to-output 12 VGA1
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.