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

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

2 Answers 2

See: https://wiki.archlinux.org/index.php/Calibrating_Touchscreen

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: https://docs.google.com/spreadsheets/d/13CNQjWfzpEkHM4ZdCcUWDTdQNaFqQ6TYTwatQsYcHcQ/edit?usp=sharing

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

Your Answer

 
discard

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.