You are not logged in.

#1 2009-09-24 01:53:58

shortcut144
Member
Registered: 2009-09-22
Posts: 12

[Solved] Touchpad settings not saving

I am using the Gnome DE on a laptop and use the touchpad as my main use.  One thing about the touchpad is that I HATE the tap-click on it.  So I turn it off via the Touchpad menu in System > Preferences > Touchpad.  Well that is all fine and dandy until I have to login again and I have to set this setting again everytime I login.  I assume this should save and I would very much like it too.

Any of you fine gents have a clue?

I was quite curious if the problem lies in my etc/X11/xorg.conf:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

I think this should say something about synaptic or something.

Again, I hope you fine gents are able to help... smile

Last edited by shortcut144 (2009-09-26 16:12:10)

Offline

#2 2009-09-24 03:55:40

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [Solved] Touchpad settings not saving

Did you disable hotplugging? If not, xorg.conf will be ignored. If disabled, the following line in your xorg.conf turns off tap-clicks:

Option "MaxTapTime" "0"

The equivalent with hotplugging should be

 <merge key="input.x11_options.MaxTapTime" type="string">0</merge>

More info on configuration with both hotplugging off or on is here. Also check if you got an ALPS or synaptics touchpad.

Offline

#3 2009-09-26 14:01:54

shortcut144
Member
Registered: 2009-09-22
Posts: 12

Re: [Solved] Touchpad settings not saving

hokasch wrote:

Did you disable hotplugging? If not, xorg.conf will be ignored. If disabled, the following line in your xorg.conf turns off tap-clicks:

Option "MaxTapTime" "0"

The equivalent with hotplugging should be

 <merge key="input.x11_options.MaxTapTime" type="string">0</merge>

More info on configuration with both hotplugging off or on is here. Also check if you got an ALPS or synaptics touchpad.

I have hot pluggin enabled.  I have a synaptics touchpad and installed the driver in the beginners guide.  I am pretty sure an ALPS is for macs, pretty sure I don't have that.  So i added the hotplugging code:

Output of nano /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>

    Disable Tapping
     <merge key="input.x11_options.MaxTapTime" type="string">0</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>

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

Saved, rebooted, and still clicking when I tap.  Any other suggestions?  I'd appreciate it.  I wonder if it is cause HAL isn't using this file.

Offline

#4 2009-09-26 15:06:25

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [Solved] Touchpad settings not saving

Put the line above the Examples, otherwise it will be "commented out" (no idea how this works in xml). Like so:

<?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>
    <merge key="input.x11_options.MaxTapTime" type="string">0</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>

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

Then restart hal and X. Works for me.

Last edited by hokasch (2009-09-26 15:09:00)

Offline

#5 2009-09-26 16:13:26

shortcut144
Member
Registered: 2009-09-22
Posts: 12

Re: [Solved] Touchpad settings not saving

Marked as Solved.

Putting the command above example fixed it.  Thanks hokasch.  Really appeciate it.

Offline

Board footer

Powered by FluxBB