Answers:
嘿杜德四世也有类似的问题。
为了解决这个问题,我安装了xinput-calibrator
sudo apt-get install xinput-calibrator
然后可以从系统>管理>校准触摸屏运行它
校准后,它将显示类似于此的终端输出
Warning: multiple calibratable devices found, calibrating last one (eGalax INC. USB TouchController)
use --device to select another one.
Calibrating EVDEV driver for "eGalax INC. USB TouchController" id=12
current calibration values (from XInput): min_x=0, max_x=4095 and min_y=0, max_y=4095
Doing dynamic recalibration:
Setting new calibration data: 77, 3935, 115, 3984
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf'
Section "InputClass"
Identifier "calibration"
MatchProduct "eGalax INC. USB TouchController"
Option "Calibration" "77 3935 115 3984"
EndSection
忽略其中的大部分,您唯一需要的就是
Option "Calibration" "77 3935 115 3984"
在终端类型
sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf
并将“校准”选项添加到您的触摸屏部分
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Calibration" "77 3935 115 3984"
EndSection
有关/etc/X11/xorg.conf.d/99-calibration.conf的简单说明,请参见 http://gnometechblog.weebly.com/1/post/2012/03/first-post.html