LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-25-2006, 12:41 PM   #1
Dngrsone
Member
 
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30

Rep: Reputation: 15
How can I get horizontal scroll out of my mouse?


I am running Slack 11 full install dual kernel (default 2.6.17.13, but I still have the 2.4.33.3 option) on an IBM Thinkpad T23.

I have the built-in trackpoint set as Mouse0 and a Logitech V200 wireless USB mouse for Mouse1 as outlined in the snippet from my xorg.conf file below:

Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Name"            "integrated thinkpad mouse"
        Option      "Protocol"        "IMPS/2"
        Option      "Device"          "/dev/psaux"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Name"            "USB Mouse"
        Option      "Protocol"        "ExplorerPS/2"
        Option      "Device"          "/dev/mouse"
        Option      "Buttons"         "5"
        Option      "ZAxisMapping"    "4 5"
        Option      "ButtonMapping"   "1 2 3 6 7"
EndSection
Now, both devices are working in X, but the V200 has right and left scroll buttons built into the scrollwheel that I'd like to program as such. At this point, clicking left scroll causes Firefox to go back one page and clicking right scroll does nothing.

Any help in this matter would be most welcome.
 
Old 10-25-2006, 03:20 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
This question has been asked so many times that you can just use this forum's search function to find the solution.
 
Old 10-25-2006, 03:29 PM   #3
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
Actually, this particular mouse-mapping question has not been asked ad infinitum. Nor is there a sticky or LinuxAnswer for the standard "How can I get my left and right side buttons to do front and back in my web browser?". I might be inclined to write one, but considering I've never gotten that to work anyway, so no.

To the OP: You might be able to use the same technique as the standard question, but I'm doubtful. What it does is remap the buttons to do Alt - Left arrow and Alt - Right arrow.

Last edited by tuxdev; 10-25-2006 at 03:32 PM.
 
Old 10-25-2006, 03:34 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Maybe you are right and I misinterpreted the title "How can I get horizontal scroll out of my mouse?" as the standard question. If that's the case, I apologize.
 
Old 10-25-2006, 09:26 PM   #5
Dngrsone
Member
 
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks, tuxdev. I ran up xev and the left-scroll shows as button 6, but there is no response for the right-scroll, which should be button 7, no?

I changed the number of buttons to 7, tried it as 8, not happening.

My apologies for not creating an ideal subject.
 
Old 10-25-2006, 10:08 PM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
You might try the other variants of the PS/2 mouse driver. The only other one I know of from the top of my head is ImPS/2.

Here's one of the threads concerning the standard question:
http://www.linuxquestions.org/questi...d.php?t=108737
and a Search query for other threads and whatever (gotta love site: in Google)
http://www.google.com/search?q=side+...en-US:official
 
Old 10-26-2006, 03:05 PM   #7
Dngrsone
Member
 
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30

Original Poster
Rep: Reputation: 15
Okay, the issue is with Firefox specifically.

To get horizontal scroll, browse to 'about:config' in the location bar and set the following options:

mousewheel.horizscroll.withnokey.action = 0;
mousewheel.horizscroll.withnokey.numlines = 1;
mousewheel.horizscroll.withnokey.sysnumlines = true;


So now, left scroll does a slide to the left when there is a horizontal scroll bar. So my new problem is trying to get the system to see the right scroll button. I changed the Protocol to IMPS/2 but that didn't help, nor did setting it to Auto.

I know the button works-- Win XP see it no problem-- so why doesn't X want to see it?

Edit, also tried evdev, but no button 7.

Last edited by Dngrsone; 10-26-2006 at 03:17 PM.
 
Old 10-26-2006, 05:19 PM   #8
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 14.1
Posts: 660

Rep: Reputation: 38
Quote:
Originally Posted by Dngrsone
Okay, the issue is with Firefox specifically.

To get horizontal scroll, browse to 'about:config' in the location bar and set the following options:

mousewheel.horizscroll.withnokey.action = 0;
mousewheel.horizscroll.withnokey.numlines = 1;
mousewheel.horizscroll.withnokey.sysnumlines = true;


So now, left scroll does a slide to the left when there is a horizontal scroll bar. So my new problem is trying to get the system to see the right scroll button. I changed the Protocol to IMPS/2 but that didn't help, nor did setting it to Auto.

I know the button works-- Win XP see it no problem-- so why doesn't X want to see it?

Edit, also tried evdev, but no button 7.
If it's a Firefox-matter, try the XScroll-extension.
 
Old 10-26-2006, 06:44 PM   #9
Dngrsone
Member
 
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks adriv! I'll have to force it to install with 2.0, but we'll see if it'll recognize that button 7.
 
Old 11-04-2006, 09:23 AM   #10
xquost
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Exactly same problem : xev doesn't see button 7.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 goes vertical; not horizontal (slack) nadroj Linux - Newbie 22 10-30-2006 02:09 AM
Disable horizontal scroll? mjjzf Linux - Laptop and Netbook 3 11-16-2005 10:33 AM
mouse scrolls horizontal instead of vert crache Linux - Hardware 5 02-25-2005 08:56 AM
usb mouse in X has only horizontal movement quantum_comp Linux - Hardware 6 09-23-2004 05:02 PM
Scroll feature in Logitech Scroll mouse does not work ssmaitra Linux - Hardware 6 11-11-2003 07:43 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration