LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-09-2010, 10:55 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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.
 
Old 09-09-2010, 06:38 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Code:
	<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
is what you are probably looking for.
 
Old 09-10-2010, 03:50 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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 */
??
 
Old 09-10-2010, 04:30 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Yes, you can add it after the closing "-->" where the comment ends.
 
1 members found this post helpful.
Old 09-10-2010, 05:37 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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?
 
Old 09-10-2010, 11:09 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse pointer moves up upon any mouse action in slackware 10.2 XavierKing Linux - General 2 07-20-2006 03:36 PM
USB mouse/KVM issue with Slackware Burnside Linux - Hardware 6 07-24-2005 02:29 AM
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 03:44 AM
USB mouse not found (slackware, _not_ an X config issue I think) ruahm Linux - Hardware 9 01-24-2004 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration