1 |
On Monday 03 January 2011 07:57:10 xing@××××××××××××.com wrote: |
2 |
> On Mon, 03 Jan 2011, James wrote: |
3 |
> > Hello, so I got xorg-server |
4 |
> > working just fine on several machines.......(*!/#FFF....) |
5 |
> > |
6 |
> > Now I want to disable the synaptic pad on a laptop. |
7 |
> > The first laptop I want to do this to is working without |
8 |
> > any xorg.conf file nor a /etc/X11/xorg.conf.d/ dir..... |
9 |
> > |
10 |
> > This chipset is a RADEON XPRESS 20M (5955) |
11 |
> > |
12 |
> > So is this file the best one to try to disable the synaptic driver? |
13 |
> > /etc/X11/xorg.conf.d/10-evdev.conf |
14 |
> > |
15 |
> > Suggestions are most welcome as googling has not |
16 |
> > produced much, related to xorg-server-1.9.2 |
17 |
> > and how to disable the synaptic pad (driver). |
18 |
> > |
19 |
> > James |
20 |
> |
21 |
> hi james, |
22 |
> |
23 |
> i know of 2 methods - either using synclient or xinput. if the synclient |
24 |
> method doesn't work, simply install xinput and the latter one should work. |
25 |
> |
26 |
> ------------------------------------------------------------------------ |
27 |
> |
28 |
> cat ~/bin/toggle-touchpad |
29 |
> #/bin/sh |
30 |
> # synclient version |
31 |
> if(synclient -l | grep "TouchpadOff" | grep -q "0") ; then |
32 |
> synclient TouchpadOff=1 |
33 |
> else |
34 |
> synclient TouchpadOff=0 |
35 |
> fi |
36 |
> |
37 |
> ------------------------------------------------------------------------ |
38 |
> |
39 |
> cat ~/bin/toggle-touchpad |
40 |
> #/bin/sh |
41 |
> # xinput version |
42 |
> if(xinput list-props TouchPad | grep "Synaptics Off" | grep -q "0") ; then |
43 |
> xinput set-int-prop TouchPad "Synaptics Off" 8 1 |
44 |
> else |
45 |
> xinput set-int-prop TouchPad "Synaptics Off" 8 0 |
46 |
> fi |
47 |
> |
48 |
> ------------------------------------------------------------------------ |
49 |
|
50 |
Or if you want to use the xorg configuration files you can try creating: |
51 |
|
52 |
/etc/X11/xorg.conf.d/10-evdev.conf |
53 |
|
54 |
and adding the option: |
55 |
|
56 |
Option "TouchpadOff" "1" |
57 |
|
58 |
under the synaptics class, or set it to "2" if you want only tapping & |
59 |
scrolling switched off. |
60 |
|
61 |
If this does not work (as was the case here) then you can instead modify |
62 |
/usr/share/X11/xorg.conf.d/10-evdev.conf (but will be overwritten when you |
63 |
remerge/update evdev). |
64 |
|
65 |
If this still does not work <sigh...> then evdev will not do it - you need |
66 |
instead the synaptics driver to load and capture the events from your |
67 |
touchpad. I assume that this may be a rare case, but since I came across it |
68 |
this is what you need to try: |
69 |
|
70 |
Add Option "AllowEmptyInput" "off" in your Section "ServerLayout" of |
71 |
/etc/X11/xorg.conf. |
72 |
|
73 |
Then modify /etc/X11/xorg.conf.d/50-synaptics.conf or |
74 |
/usr/share/X11/xorg.conf.d/50-synaptics.conf and add Option "TouchpadOff" "1" |
75 |
in there. |
76 |
|
77 |
Theoretically, files in /etc/X11/xorg.conf.d/ should take precedence over |
78 |
files in /usr/share/X11/xorg.conf.d/, but practically this is not always the |
79 |
case. |
80 |
|
81 |
HTH |
82 |
-- |
83 |
Regards, |
84 |
Mick |