LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mouse Issue in Slackware-13.1 (https://www.linuxquestions.org/questions/slackware-14/mouse-issue-in-slackware-13-1-a-831204/)

business_kid 09-09-2010 10:55 AM

Mouse Issue in Slackware-13.1
 
On my laptop, the mice/meece/mouses(?) available to me are
1. Touchpad thing, w/2 buttons and a strip along the side which on a good day scrolls up and down. This gets 75% use
2. A Low res cheapo external wheel mouse with a lead that rolls up on itself and gets out of the way. Gets about 25% use

CHANGES_AND_HINTS.txt on the dvd suggested
If you are using input hotplugging via HAL and a synaptics touchpad, then you might need to copy /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi to /etc/hal/fdi/policy/ and edit it to suit your needs.

Now I got the cp, but not the edit. Problem is, if I start X without the external mouse, the strip along the side is no use on the touchpad. Apart from that, It's excellent - brilliant really. The low res mouse and the higher res touchpad have suitable acceleration which was always a battle before.

Any hints on this? xml isn't really my thing.

titopoquito 09-09-2010 06:38 PM

Code:

        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
is what you are probably looking for.

business_kid 09-10-2010 03:50 AM

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>
        <!-- Enable tap click by default: -->
        <merge key="input.x11_options.TapButton1" type="string">1</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>

        Try the stuff from Linuxquestions on the mouse
        <merge key=input.x11.options.VertEdgeScroll type=string>true</merge>

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

That's the entire file, included in case I made a slip up. It worked this way: Once I got the ~/11-x11-synaptics.fdi~ out of sight, it worked initially. So I said to myself "This guy is great!" and was about to tell the world, or LQ at least when I realised it wasn't working :-(. It worked from start of X until the first mouse button press.

Did I put that in the wrong place? Are those <! lines comments? Do you read them like
# one line comment ended by retuirn
/* many line comment
ended by */
??

titopoquito 09-10-2010 04:30 AM

Yes, you can add it after the closing "-->" where the comment ends.

business_kid 09-10-2010 05:37 AM

Right. Still not singing. Here's the relevant bit of the file now
Code:

<!-- 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>

I took out that bit I put in, and used the one already there. No go. So I closed X and tried adding Circular Scrolling as well, but it's still not happy. My edits are highlighted above.
In the old way, ZAxixMapping used to look after all of this, but of course there's no xorg.conf now. Gpm is sleeping there somewhere in the background - would that be spoiling the party?

business_kid 09-10-2010 11:09 AM

Mea culpa, I retract & repent.

It all works, and thanks very much. But I needed a reboot to make it take effect, not simply dropping out of X.

In fact the mousepad centre also scrolls. I'm off to disable Circular Scrolling and we'll see how things behave after that. I can plug in the mouse and nothing changes.


All times are GMT -5. The time now is 03:19 AM.