触摸板设置问题!!!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
sundayson
帖子: 65
注册时间: 2007-12-31 17:29
来自: 北京
联系:

触摸板设置问题!!!

#1

帖子 sundayson » 2008-01-02 17:08

我装了Gsynaptics,
打开后出现如下提示,
我打开 xorg.conf,怎么设置'SHMConfig' 'true'啊?
是把它们放哪儿呢?
附件
snapshot4.png
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2008-01-02 19:02

xorg.conf里面加这句。

代码: 全选

☎  grep -C 4 SHMConfig /etc/X11/xorg.conf
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto-dev"
    Option         "HorizScrollDelta" "100"
# 开水平滚动
    Option         "SHMConfig" "on"
    Option         "TapButton1" "1"
    Option         "TapButton3" "3"
# 交换左右键,左手鼠标时候,单击才正常。
    Option         "TapButton2" "2"
● 鸣学
sundayson
帖子: 65
注册时间: 2007-12-31 17:29
来自: 北京
联系:

#3

帖子 sundayson » 2008-01-02 19:58

eexpress 写了:xorg.conf里面加这句。

代码: 全选

☎  grep -C 4 SHMConfig /etc/X11/xorg.conf
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto-dev"
    Option         "HorizScrollDelta" "100"
# 开水平滚动
    Option         "SHMConfig" "on"
    Option         "TapButton1" "1"
    Option         "TapButton3" "3"
# 交换左右键,左手鼠标时候,单击才正常。
    Option         "TapButton2" "2"


我加了这句,可是还是那样啊。。。不是需要重启吧?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2008-01-02 20:48

xorg.conf啊。至少是X重启下。
● 鸣学
sundayson
帖子: 65
注册时间: 2007-12-31 17:29
来自: 北京
联系:

#5

帖子 sundayson » 2008-01-05 18:37

eexpress 写了:xorg.conf里面加这句。

代码: 全选

☎  grep -C 4 SHMConfig /etc/X11/xorg.conf
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto-dev"
    Option         "HorizScrollDelta" "100"
# 开水平滚动
    Option         "SHMConfig" "on"
    Option         "TapButton1" "1"
    Option         "TapButton3" "3"
# 交换左右键,左手鼠标时候,单击才正常。
    Option         "TapButton2" "2"

晕了,我把这个加进去了。。。然后重启。。。就进不了桌面了。。。。

还是 用 sudo nano /etc/X11/xorg.conf 编辑,把那段删除后才能进登录界面。。。。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2008-01-05 19:04

你不会是加了这段吧。只要加一句啊。我这段是表示加在哪个位置。
● 鸣学
sundayson
帖子: 65
注册时间: 2007-12-31 17:29
来自: 北京
联系:

#7

帖子 sundayson » 2008-01-06 13:33

eexpress 写了:你不会是加了这段吧。只要加一句啊。我这段是表示加在哪个位置。
哦 不好意思 这样啊 我是因为里面没那一段所以才加进去的

你看我的 xorg.conf

代码: 全选

# 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 xorg.conf manual page.
# (Type "man 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"
EndSection

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

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

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"stylus"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"eraser"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"cursor"
	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300]"
	Driver		"nvidia"
	Busid		"PCI:1:0:0"
	Option		"AddARGBVisuals"	"True"
	Option		"AddARGBGLXVisuals"	"True"
	Option		"NoLogo"	"True"
EndSection

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

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300]"
	Monitor		"通用显示器"
	Defaultdepth	24
	SubSection "Display"
		Modes		"1280x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
  screen "Default Screen"
	Inputdevice	"Generic Keyboard"
	Inputdevice	"Configured Mouse"
	
	# Uncomment if you have a wacom tablet
	#	InputDevice     "stylus"	"SendCoreEvents"
	#	InputDevice     "cursor"	"SendCoreEvents"
	#	InputDevice     "eraser"	"SendCoreEvents"
EndSection
Section "Module"
	Load		"glx"
EndSection
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

完整段,是我自己加的。曾经内核取消了这段,引起麻烦。

#8

帖子 eexpress » 2008-01-06 13:38

Section "InputDevice"

# 左上角模拟1键,右上角模拟2键,右下角模拟3键。
Identifier "Synaptics Touchpad"
Driver "synaptics"

Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "100"
# 开水平滚动
Option "SHMConfig" "on"
Option "TapButton1" "1"
Option "TapButton3" "3"
# 交换左右键,左手鼠标时候,单击才正常。
Option "TapButton2" "2"
# 使用双指模拟中键,用于复制文字。
Option "LTCornerButton" "1"
# 左手鼠标时,系统把xmodmap -pp键值交换,但是同时也影响了触摸板的TapButton1/3事件。
EndSection
● 鸣学
sundayson
帖子: 65
注册时间: 2007-12-31 17:29
来自: 北京
联系:

Re: 完整段,是我自己加的。曾经内核取消了这段,引起麻烦。

#9

帖子 sundayson » 2008-01-07 17:49

eexpress 写了:
Section "InputDevice"

# 左上角模拟1键,右上角模拟2键,右下角模拟3键。
Identifier "Synaptics Touchpad"
Driver "synaptics"

Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "100"
# 开水平滚动
Option "SHMConfig" "on"
Option "TapButton1" "1"
Option "TapButton3" "3"
# 交换左右键,左手鼠标时候,单击才正常。
Option "TapButton2" "2"
# 使用双指模拟中键,用于复制文字。
Option "LTCornerButton" "1"
# 左手鼠标时,系统把xmodmap -pp键值交换,但是同时也影响了触摸板的TapButton1/3事件。
EndSection
还是没太明白怎么用。。。。

把你这段加进去?
没反应啊?还是一楼那样
ps:电脑重启了

谢谢你啊。
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#10

帖子 yaoms » 2008-01-07 17:52

只加一行阿,加

代码: 全选

Option       "SHMConfig"               "true"
加在ee所示的位置。。。

另外,修改此配置之后只需重启X,不用重启电脑。

重启X的方法是:ctrl+alt+backspace
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
sundayson
帖子: 65
注册时间: 2007-12-31 17:29
来自: 北京
联系:

#11

帖子 sundayson » 2008-01-07 18:09

yaoms 写了:只加一行阿,加

代码: 全选

Option       "SHMConfig"               "true"
加在ee所示的位置。。。

另外,修改此配置之后只需重启X,不用重启电脑。

重启X的方法是:ctrl+alt+backspace
问题是我的xorg.conf里没有关于touchpad的任何信息。。
你看我7楼的内容,没地方加啊
sundayson
帖子: 65
注册时间: 2007-12-31 17:29
来自: 北京
联系:

#12

帖子 sundayson » 2008-01-08 21:45

继续寻求帮助。。。。
回复