如何关闭讨厌的触摸板?(touchpad)

CPU/显卡/打印机/USB设备等硬件问题
回复
passun
帖子: 72
注册时间: 2006-06-07 11:27

如何关闭讨厌的触摸板?(touchpad)

#1

帖子 passun » 2006-07-04 13:02

用起来非常影响心情,简直让人无法接受。。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2006-07-04 14:55

xorg.conf里面有。去掉wcon这样的
● 鸣学
头像
nobrain
帖子: 808
注册时间: 2005-08-25 13:58
来自: ustc
联系:

#3

帖子 nobrain » 2006-07-05 9:30

要是能动态 禁用/启用 就好了
爱喝真猪奶茶的夜鸣猪
BitCowboy
帖子: 31
注册时间: 2005-07-02 9:33

#4

帖子 BitCowboy » 2006-07-05 11:43

Wiki 的 Howto 里不是有的么。
flickxie
帖子: 42
注册时间: 2006-04-04 3:11

#5

帖子 flickxie » 2006-07-06 10:31

你自己不去用不就行了,为什么要禁用呢。。。。触模板还是很方便的啊,
头像
oliver
帖子: 775
注册时间: 2005-10-05 11:31
联系:

Re: 如何关闭讨厌的触摸板?(touchpad)

#6

帖子 oliver » 2006-07-06 12:48

passun 写了:用起来非常影响心情,简直让人无法接受。。
看看BIOS里面可否设置禁用触控板呢?我的笔记本可以。
bruce_Q
帖子: 55
注册时间: 2006-06-05 10:28
联系:

#7

帖子 bruce_Q » 2006-07-06 14:30

tpoff
#!/bin/bash
#

synclient touchpadoff=1


tpon
#!/bin/bash
#

synclient touchpadoff=0

touchpad.py
#!/usr/bin/python
import os
import string


def ReadFile():
myfile = open('/tmp/synclient.tmp', 'rb')
for line in myfile:
TestString(line)
myfile.close()

def TestString(string):
for word in string.split():
if word == "TouchpadOff":
setting = string.split()
ChangeState(setting[2])


def ChangeState(current):
if current == "0":
os.system("synclient touchpadoff=1")
else:
os.system("synclient touchpadoff=0")
os.system("rm /tmp/synclient.tmp")

def Main():
ReadFile()
os.system("synclient -l > /tmp/synclient.tmp")
Main()
头像
gootoo
帖子: 51
注册时间: 2006-07-30 15:31

#8

帖子 gootoo » 2006-07-31 12:33

什么意思??
是shell脚本吗?
passun
帖子: 72
注册时间: 2006-06-07 11:27

#9

帖子 passun » 2006-08-19 20:04

flickxie 写了:你自己不去用不就行了,为什么要禁用呢。。。。触模板还是很方便的啊,
没办法,手比较笨,一老碰到不想碰到的上面!!! :lol:
passun
帖子: 72
注册时间: 2006-06-07 11:27

#10

帖子 passun » 2006-08-19 20:16

感谢大家,终于可以关掉它拉。
方法在WIKI里有,这简要说一下自己的操作:

在终端中编辑/etc/xorg.conf

sudo gedit /etc/X11/xorg.conf

找到如下内容:

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on" 这一行要加上,否则在使用关闭命令时会提示SHMConfig 相关的错误!
EndSection

从新进入X界面后:
synclient touchpadoff=1 关闭!

http://wiki.ubuntu.org.cn/Synaptics%E8% ... a061fcacc0
killjanuary
帖子: 65
注册时间: 2006-07-10 17:02

#11

帖子 killjanuary » 2006-08-20 17:17

呵呵,我的THINKPAD的触摸板没有 "Synaptics Touchpad" 设备 。 麻烦点。。。去THINKWIKI看看
回复