Welcome 微信登录

首页 / 操作系统 / Linux / Xfce 触摸板启用“点击”(Debian Wheezy)

问题描述

系统:Debian Wheezy Xfce。问题:虽然安装了 Xorg 触摸板输入的驱动(synaptics),但是“点击”触摸板中间部分,仍然无法启用其相当于鼠标的“单击”功能。

解决方法

1.首先,保证安装了 synaptics 驱动:$ sudo apt-get install xserver-xorg-input-synaptics2.复制 /usr/share/X11/xorg.conf.d/etc/X11$ sudo cp -R /usr/share/X11/xorg.conf.d/ /etc/X113.将原 /etc/X11/xorg.conf.d/10-evdev.conf 配置文件下面同一部分内容改为:Section "InputClass"Identifier "evdev touchpad catchall"MatchIsTouchpad "on"MatchDevicePath "/dev/input/event*"Driver "synaptics"Option "TapButton1" "1"Option "TapButton2" "2"Option "TapButton2" "3"EndSection关于上面文件中 TapButton 的使用,man 手册里面的解释为Option "TapButton1" "integer"Which mouse button is reported on a non-corner one-finger tap.Setto0 to disable. Property: "Synaptics Tap Action" Option "TapButton2" "integer"Whichmouse button is reported on a non-corner two-finger tap.Set to0 to disable. Property: "Synaptics Tap Action"Option "TapButton3" "integer"Which mouse button is reported on a non-corner three-fingertap. Setto 0 to disable. Property: "Synaptics Tap Action"4.重启系统

关于 synaptics

synaptics 是触摸板的 Xorg 输入驱动。即使触摸板也可以由 evdev 或鼠标驱动处理,但该驱动能够允许触摸板实现更多的功能。synaptics 这个名称属历史沿袭,在 Linux 下,特定硬件有内核处理,但该驱动适用于任何触摸板。如果设备为“PS/2 Mouse”或更古老,内核驱动可能不会支持这样的设备,该驱动也会提供有限支持的功能。不过,适用于任何设备,不管功能多少,都是非常不错了。synaptics 部分功能列表
  • 非线性加速触摸运动
  • 通过短暂触摸,实现单击/双击事件
  • 多指触摸:需要硬件支持
关于 synaptics 的更多内容,可以在终端运行 man synaptics 进行查看。推荐阅读:Xfce Theme Manager:Xfce 主题皮肤管理工具 http://www.linuxidc.com/Linux/2013-07/87498.htm[图]Debian放弃Xfce 再次启用GNOME作为默认桌面 http://www.linuxidc.com/Linux/2012-11/73954.htmUbuntu下使用(Xfce截屏)及GNOME下一个好用的截屏工具 http://www.linuxidc.com/Linux/2012-10/71936.htmUbuntu 13.04安装Linux Deepin特色软件Fedora 18 配置记录相关资讯      xfce  Debian Wheezy 
  • Xfce之所以大行其道的七大原因  (08/11/2015 19:44:36)
  • Ubuntu & XFCE vs Xubuntu  (03/21/2015 13:03:53)
  • Xfce 4.12 新特性概览  (03/03/2015 09:00:26)
  • Xfce 4.12 发布,轻量级Linux桌面  (03/30/2015 16:01:14)
  • 短消息:Xfce LLVM Vulkan  (03/04/2015 13:14:42)
  • Xfce 4.12 变化巨大 附升级方法  (03/02/2015 18:48:48)
本文评论 查看全部评论 (0)
表情: 姓名: 字数