You are not logged in.

#1 2009-11-11 14:53:07

Drake
Member
Registered: 2007-09-05
Posts: 41

Synaptic

Hi everyone.. i have a question.. i installed xf86 synaptic.. ran fine for me.. but when I connect the mouse(usb), the synaptic don't disable..
i read this http://wiki.archlinux.org/index.php/Syn … _detection .. but the files touchpad.rules don't exist.

thanks..

Offline

#2 2009-11-11 15:15:42

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: Synaptic

Why don't you create the file with the specified content?

Offline

#3 2009-11-11 15:18:07

Drake
Member
Registered: 2007-09-05
Posts: 41

Re: Synaptic

i did that.. but nothing happen....

Offline

#4 2009-11-11 15:26:34

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: Synaptic

Did you also enable SHMConfig, as mentioned in the article? Do you use xorg.conf or hal? Hal probably needs to be restarted after those changes.

Offline

#5 2009-11-11 15:33:22

Drake
Member
Registered: 2007-09-05
Posts: 41

Re: Synaptic

i use hal.. but the shmconfig is in the xorg.conf ??

Offline

#6 2009-11-11 15:37:27

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: Synaptic

That depends on your configuration. The article recommends to put it into hal, thats why I am asking.

Offline

#7 2009-11-11 16:08:12

Drake
Member
Registered: 2007-09-05
Posts: 41

Re: Synaptic

yes i use hal.
i made this
nano /etc/udev/rules.d/01-touchpad.rules

ACTION=="add", SUBSYSTEM=="input", ENV{ID_CLASS}="mouse", RUN+="/usr/bin/synclient -s TouchpadOff=1"
ACTION=="remove", SUBSYSTEM=="input", ENV{ID_CLASS}="mouse", RUN+="/usr/bin/synclient -s TouchpadOff=0"

cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi /etc/hal/fdi/policy/

where i can turn on shmconfig?

Offline

#8 2009-11-11 16:17:51

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Synaptic

In /etc/hal/fdi/policy, <merge key="input.x11_options.SHMConfig" type="string">true</merge>

Offline

#9 2009-11-11 16:33:55

Drake
Member
Registered: 2007-09-05
Posts: 41

Re: Synaptic

/etc/hal/fdi/policy/11-x11-synaptics.fdi

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="ETPS/2 Elantech Touchpad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>
    </match>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.TapButton2" type="string">2</merge>
        <merge key="input.x11_options.TapButton3" type="string">3</merge>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at runtime
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

        Enable vertical scrolling when dragging along the right edge
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

        Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

        Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

        <merge key="input.x11_options.SHMConfig" type="string">true</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics man page
        -->
    </match>
  </device>
</deviceinfo>

uhmm what i have done wrong??

Last edited by Drake (2009-11-11 16:35:36)

Offline

#10 2009-11-11 17:05:31

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Synaptic

Well it's commented out (<!-- EXAMPLES: ... --> is a comment).  Move it above the EXAMPLES line.

Offline

#11 2009-11-12 01:54:52

Drake
Member
Registered: 2007-09-05
Posts: 41

Re: Synaptic

it didn't work fine for me.. but thanks any how..
sometimes the touchpad turns mad..

Offline

#12 2009-11-12 12:44:45

Drake
Member
Registered: 2007-09-05
Posts: 41

Re: Synaptic

is nesesary libsynaptic?

Offline

Board footer

Powered by FluxBB