1 |
On Mon, 03 Jan 2011, James wrote: |
2 |
|
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 |
> |
22 |
|
23 |
hi james, |
24 |
|
25 |
i know of 2 methods - either using synclient or xinput. if the synclient method |
26 |
doesn't work, simply install xinput and the latter one should work. |
27 |
|
28 |
------------------------------------------------------------------------ |
29 |
|
30 |
cat ~/bin/toggle-touchpad |
31 |
#/bin/sh |
32 |
# synclient version |
33 |
if(synclient -l | grep "TouchpadOff" | grep -q "0") ; then |
34 |
synclient TouchpadOff=1 |
35 |
else |
36 |
synclient TouchpadOff=0 |
37 |
fi |
38 |
|
39 |
------------------------------------------------------------------------ |
40 |
|
41 |
cat ~/bin/toggle-touchpad |
42 |
#/bin/sh |
43 |
# xinput version |
44 |
if(xinput list-props TouchPad | grep "Synaptics Off" | grep -q "0") ; then |
45 |
xinput set-int-prop TouchPad "Synaptics Off" 8 1 |
46 |
else |
47 |
xinput set-int-prop TouchPad "Synaptics Off" 8 0 |
48 |
fi |
49 |
|
50 |
------------------------------------------------------------------------ |
51 |
|
52 |
xing |