LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   gpointing-device-settings settings will not stay after reboot (https://www.linuxquestions.org/questions/linux-hardware-18/gpointing-device-settings-settings-will-not-stay-after-reboot-762801/)

texasone 10-18-2009 01:19 PM

gpointing-device-settings settings will not stay after reboot
 
I am running a debian squeeze machine on a ibm t40 laptop with window maker as my window manager. I am using gpointing-device-settings as a program to get the scroll bar on my touch pad working. unfortunately, I can't get the settings to stick after i shutdown and turn on. I have to go into the program and unclick then reclick the button. i'm using version 1.3.2 (ive tried both deb and source versions). does anyone have any ideas on how to fix this? and if there is any configure files that I could configure instead of having to use the gui program.

xaljava 11-01-2009 06:57 AM

I have the same problem
 
I'll post when solve the task.
Or may be anybody know the solve?

xaljava 11-01-2009 07:32 AM

So... gpointing-device-settings only make settings for gnome and gnome-settings-daemon restores it after reboot/login. But both You and me don't want to use gnome-settings-daemon. Hm... I'm about to look it's source code...

xaljava 11-01-2009 08:40 AM

A lot of time spent...
Just make in "/etc/hal/fdi/policy" file named "11-x11-synaptics.fdi". Example of it in the xserver-xorg-input-synaptics or x86-input-synaptics package depending on Your system. And it works for all users. So, you can delete gsynaptics, gpointing-device-settings and all the packages which contain "gnome" in own name.
After you have this file restart hal daemon and then restart X-server. Reboot not needed! For more details read man synaptics.
Good Luck!
Here my example of "/etc/hal/fdi/policy/11-x11-synaptics.fdi":

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</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">220</merge>

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

        Enable horizontal scrolling when dragging along the right edge
        <merge key="input.x11_options.HorizEdgeScroll" 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">false</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics man page
<!--        <merge key="input.x11_options.TapAction" type="string">F1</merge>
        <merge key="input.x11_options.ClickAction" type="string">1</merge> -->

        <merge key="input.x11_options.LeftEdge" type="string">1700</merge>
        <merge key="input.x11_options.RightEdge" type="string">5300</merge>
        <merge key="input.x11_options.TopEdge" type="string">1700</merge>
        <merge key="input.x11_options.BottomEdge" type="string">4200</merge>
        <merge key="input.x11_options.FingerLow" type="string">25</merge>
        <merge key="input.x11_options.FingerHigh" type="string">30</merge>
        <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
        <merge key="input.x11_options.VertScrollDelta" type="string">180</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">40</merge>
        <merge key="input.x11_options.MinSpeed" type="string">0.48</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">1.00</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.010</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>

    </match>
  </device>
</deviceinfo>


nikhil760 01-04-2010 09:03 AM

Thanks xaljava, it worked on my Arch Linux.

dimonomid 09-06-2013 06:00 PM

On linux mint 13 MATE (and Cinnamon too) no suggestions worked for me, and I found other solution. I needed to disable tapping and scrolling on my touchpad.
I have created shell script with the following contents:

Code:

#!/bin/bash
synclient VertEdgeScroll=0    # disable vert scroll
synclient HorizEdgeScroll=0  # disable horiz scroll
synclient TapButton1=0        # disable tap button 1
synclient TapButton2=0        # disable tap button 2
synclient TapButton3=0        # disable tap button 3

made it executable, and added it to autostart. Now it works.


All times are GMT -5. The time now is 11:57 PM.