LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1588|回复: 7

能不能关闭笔记本触摸版的点击功能?

[复制链接]
发表于 2007-10-12 19:09:21 | 显示全部楼层 |阅读模式
经常会在使用触摸版的时候误点了什么,能不能把这个功能关闭?只使用移动功能,点击按键才有效?
发表于 2007-10-12 23:46:02 | 显示全部楼层
Post by 林知枫
经常会在使用触摸版的时候误点了什么,能不能把这个功能关闭?只使用移动功能,点击按键才有效?


修改/etc/X11/xorg.conf,找到触摸板那节
  1.     Section "InputDevice"
  2.         Identifier    "Synaptics Touchpad"
  3.         ......
  4.         ......
  5.         #添加以下一行即可
  6.         Option        "SHMConfig"        "true"
  7.     EndSection
复制代码

然后安装ksynaptics或gsynaptics,前者集成在KDE控制中心里,后者是独立的程序。
然后随便调整吧!
回复 支持 反对

使用道具 举报

发表于 2007-10-13 00:15:58 | 显示全部楼层
其实可以不用安装另外的程序, 按照 zengfucen 的方法找到相应位置, 然后再增加一行

Option "MaxTapTime" "0"

把轻敲模拟点击的时间设置为0. 由于你轻敲的时间再快也不可能为零, 所以实际上就禁止了这个功能.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-13 08:05:21 | 显示全部楼层
在xorg.conf中只找到了键盘和鼠标,没有触摸板Synaptics Touchpad
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-13 08:07:32 | 显示全部楼层
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load        "i2c"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "rotocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "Device"
        Identifier        "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
        Driver                "i810"
        BusID                "CI:0:2:0"
EndSection

Section "Monitor"
        Identifier        "通用显示器"
        Option                "DPMS"
        HorizSync        28-64
        VertRefresh        43-60
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
        Monitor                "通用显示器"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection
回复 支持 反对

使用道具 举报

发表于 2007-10-13 08:22:49 | 显示全部楼层
用用看synclient这个命令,设置一下可以禁用touchpad的中键和滚轮模拟功能
回复 支持 反对

使用道具 举报

发表于 2007-10-13 12:06:02 | 显示全部楼层
Post by 林知枫
在xorg.conf中只找到了键盘和鼠标,没有触摸板Synaptics Touchpad
嗯, 内核中的 psmouse 模块现在也能支持部分触板的功能. 不安装 Synaptics 专用驱动, 触板也能工作.

但我们似乎不能对 psmouse 进行设置, 所以最好的解决办法还是安装 xserver-xorg-input-synaptics 包, 然后修改 /etc/X11/xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-13 20:46:42 | 显示全部楼层
apt上没有synaptics了,说由tpconfig代替了,我安装了tpconfig,还是没有synaptics或者tpconfig的选项
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表