You are not logged in.
I see, what if you ran
xinput set-prop "Fujitsu Component USB Touch Panel" "Coordinate Transformation Matrix" 1.09715 0 -0.06089 0 1.12394 -0.06306 0 0 1?
Edit:
I calculated like this
scale_x = 65535 / (63369 - 3637) ≈ 1.097
offset_x = -3637 / (63369 - 3637) ≈ -0.0609
scale_y = 65535 /(61985 - 3677) ≈ 1.124
offset_y = -3677 / (61985 - 3677) ≈ -0.0631Last edited by 5hridhyan (2026-05-26 15:43:16)
Online
That actually worked! It's a little off on some corners but that's due to me loosely clicking the crosses, I'm going to recalculate it, and edit this post with the correct values, so that when you give me the script it is perfectly calibrated.
Edit:
I think I did something wrong when calculating the thing, because it is no longer calibrated. here is what I did:
output of xinput_calibrator:
Calibrating standard Xorg driver "Fujitsu Component USB Touch Panel"
current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf'
Section "InputClass"
Identifier "calibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "MinX" "202"
Option "MaxX" "65652"
Option "MinY" "242"
Option "MaxY" "65548"
EndSectionMy math:
scale_x= 1.0012987013
offset_x= -0.00308632543927
scale_y = 1.00350656907
offset_y = -0.00370563194806The command:
xinput set-prop "Fujitsu Component USB Touch Panel" "Coordinate Transformation Matrix" 1.0012987013 0 -0.00308632543927 0 1.00350656907 -0.00370563194806 0 0 1Last edited by UliteXD (2026-05-26 16:18:13)
Offline
I have been trying a few more times to calculate the same thing but I don't think I am doing it correctly since every time the screen is more warped
Offline
the math is correct, but the value you took/given by xinput_calib is kinda not good, anyways, usually the command you ran is temporary, a reboot should reset the state
and the value you took might not be "accurate" as a previous matrix was applied? in any case, before running `xinput_calibrator` make sure the matrix is set to the default, ig.
"1 0 0 0 1 0 0 0 1", and THEN run and calculate, since "1.09715 0 -0.06089 0 1.12394 -0.06306 0 0 1" worked for you, Im going to take it as a example
create a file like smtg ends with .sh (eg. meow.sh), and then paste:
#!/bin/bash
sleep 4
xinput set-prop "Fujitsu Component USB Touch Panel" "Coordinate Transformation Matrix" 1.09715 0 -0.06089 0 1.12394 -0.06306 0 0 1and then give it executable permission by running `chmod +x ~/meow.sh`
in KDE settings, scroll down to autostart, and select Add login script , and browse and select your .sh
and you should be good to go ![]()
Online
That worked! Thank you very much for your patience and for your help. I really appreciate it.
Offline
\o/
you can always calculate matrix w/ new data and update it in your script, but since it's working, just don't chase the 1:1 perfection ![]()
Online