Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have ubuntu 12.04 and two monitors, where first is touchscreen.

System recognizes resolution as one big screen with 3840 * 1080 resolution.

Problem is when using touch calibration, calibrator screen gets sized over both screens. So, when touching screen, pointer gets double moves on X axis.

Is there any solution?

Graphic: NVIDIA with Twin wiew

share|improve this question
try using xinerama in nvidia settings – Misery Jun 24 '12 at 20:03


Your matrix is one of the following:

 Touch screen on the left: 0. 5 0 0 0 1 0 0 0 1
 Touch screen on the right: 0. 5 0 0. 5 0 1 0 0 0 1

I have almost the same configuration (but screens one on top of the others) and I experience multiple clicks after setting the correct matrix, as described on the bottom line of the link above. I haven't found a way to rebuild xorg-server under Ubuntu; for sure the described procedure doesn't work.

share|improve this answer

The archlinux wiki is the best description of how to solve this, but here is something a bit more specific.

You should run xinput --list to identify the name of your input device. I created a spreadsheet to calculate the transformation values.

Spreadsheet here:

I ran your numbers (dual 1920x1080 displays).

If your touchscreen is on the left, the command would be ('Advanced Silicon S.A CoolTouch(TM) System' is the name of my input device, replace with yours):

xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' --type=float 'Coordinate Transformation Matrix' 0.5 0 0 0 1 0 0 0 1

For the right, it should be:

xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' --type=float 'Coordinate Transformation Matrix' 0.5 0 0.5 0 1 0 0 0 1
share|improve this answer
It f***ing worked! Thanks! :D – Kamil Dziedzic Jan 13 '15 at 22:23

Since this is a firs google search result for this problem, I decided to post my solution that for me looks simple.

I found this link on archlinux, and you can use

xinput --map-to-output <stylus device ID> <screen ID>

so I don't need to play with "Coordinate Transformation Matrix"...

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.