首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >禁用触摸屏

禁用触摸屏
EN

Ask Ubuntu用户
提问于 2017-06-09 23:28:05
回答 1查看 2K关注 0票数 2

据我理解,我可以通过在这个文件中添加“忽略”选项来禁用我的触摸屏。

代码语言:javascript
复制
          /usr/share/X11/xorg.conf.d/10-evdev.conf

 Section "InputClass"
          Identifier "evdev touchscreen catchall"
          MatchIsTouchscreen "on"
          MatchDevicePath "/dev/input/event*"
          Driver "evdev"
          EndSection

所以看起来会是这样

代码语言:javascript
复制
 Section "InputClass"
          Identifier "evdev touchscreen catchall"
          MatchIsTouchscreen "on"
          MatchDevicePath "/dev/input/event*"
          Driver "evdev"
          Option "Ignore" "on"
          EndSection

如果我将MatchIsTouchscreen简化为"off“,会发生什么情况?

代码语言:javascript
复制
 Section "InputClass"
          Identifier "evdev touchscreen catchall"
          MatchIsTouchscreen "off"
          MatchDevicePath "/dev/input/event*"
          Driver "evdev"
          EndSection

这会使我的触摸屏失效吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2017-06-12 03:42:40

编辑的文件

代码语言:javascript
复制
sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf

将MatchIsTouchscreen从"on“改为"off”

代码语言:javascript
复制
Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "off"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        EndSection

"ELAN触摸屏“被禁用,不再在xinput中检测到。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/923911

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档