Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-25-2006, 12:41 PM
|
#1
|
Member
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30
Rep:
|
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.
|
|
|
10-25-2006, 03:20 PM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
This question has been asked so many times that you can just use this forum's search function to find the solution.
|
|
|
10-25-2006, 03:29 PM
|
#3
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012
Rep: 
|
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.
|
|
|
10-25-2006, 03:34 PM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
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.
|
|
|
10-25-2006, 09:26 PM
|
#5
|
Member
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30
Original Poster
Rep:
|
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. 
|
|
|
10-26-2006, 03:05 PM
|
#7
|
Member
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
10-26-2006, 05:19 PM
|
#8
|
Member
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700
Rep:
|
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.
|
|
|
10-26-2006, 06:44 PM
|
#9
|
Member
Registered: Nov 2005
Location: Centrally located far from everywhere
Distribution: Ubuntu, Smoothwall
Posts: 30
Original Poster
Rep:
|
Thanks adriv! I'll have to force it to install with 2.0, but we'll see if it'll recognize that button 7.
|
|
|
11-04-2006, 09:23 AM
|
#10
|
LQ Newbie
Registered: Nov 2006
Posts: 2
Rep:
|
Exactly same problem : xev doesn't see button 7.
|
|
|
All times are GMT -5. The time now is 07:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|