LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Map button 3 to scroll (https://www.linuxquestions.org/questions/mandriva-30/map-button-3-to-scroll-185052/)

Warmaster 05-23-2004 10:48 PM

Map button 3 to scroll
 
how do I map button 3 to the scroll icon just like in winxp ?

Bruce Hill 05-24-2004 12:49 AM

Add this line
Code:

Option "ZAxisMapping"  "4 5"
to your /etc/X11/XF86Config file. This works for Slackware, and if you can find this file
in your distro and add that line it should work for you, also. I don't know what you mean
by "the scroll icon," but that makes your mouse wheel scroll in the x server.

motub 05-24-2004 02:06 AM

Your mouse "Protocol" section also needs to be "ImPS/2" (if it's a PS/2 mouse), to enable the X server to know that it's a wheel mouse in the first place (then the wheel is enabled via the ZAxisMapping option).

Code:

    Option "Protocol"  "ImPS/2"
.

But is using your mouse wheel to scroll around your graphical environment what you're talking about, Warmaster? Apparently only non-XP users are hanging out in this thread atm--I don't know what "the scroll icon" is, either. I didn't even know that XP had to have a whole separate icon/tool to enable scrolling. All the versions of Windows I've ever used detected my wheel mouse and used it and all I had to change was how far it scrolled in the Mouse Properties Control Panel.

So I'm thinking the "scroll icon" might be something else entirely.

Warmaster 05-24-2004 11:39 AM

...
 
indeed

what I mean with the scroll icon, is that icon with arrows that appears when you -click- the scroll button and then it scrolls wherever you move the mouse to.

oh, and how can I map button 4 to back and button 5 to forward ?

motub 05-24-2004 04:27 PM

You're talking about a mouse gesture, as far as I know. At least that's what it is when I use it in Firefox. Does XP have that for the whole OS, or do you use a separate program to enable such things (like a control panel for your very special multi-button mouse)?

Anyway, here is a tutorial for enabling a 5-button mouse under Linux. Not sure it will give you mouse gestures as you know them, but it should enable you to replicate and customize the behaviour that you're used to to some degree.

Hope it helps.

Bruce Hill 05-24-2004 06:09 PM

What he means is that in Windoze when you press down on the scroll wheel, it gives you
an icon on your screen that displays black arrows pointing in four directions, and I think there
is a square in the middle. Once this phantom appears, you can move your entire mouse,
without pressing any buttons, and the screen will scroll continuously. For me it was almost
impossible to read the text that fast, but I suppose one could have a reason for wanting that
particular function.

I'm not sure if this function comes from the mouse behavior, or a particular program. And
I've never setup my 5-button mouse properly in Slack, because the posts I followed were
all wrong.

I've moved hardware and am reinstalling the systems on the only box I have with a 5-button
mouse, but later I'll try this tutorial Holly linked to and see if it adds that function.

Standard Disclaimer for post to Mandy or RH user
NB: Just because it works for me in Slack, does not mean it will work for you. Those distros
put things in different locations, don't install the same libraries, and use SysV vs. BSD style.

Warmaster 05-24-2004 08:50 PM

too much hassle for 2 extra buttons, I'll guess I'll stay this way 'till I get more used to linux.

Bruce Hill 05-24-2004 09:17 PM

enter your distro in your user cp
 
What distribution are you using? If you'll click on the user cp button at the top of this page,
and enter you distro, you'll get more answers, and better answers. For instance, if you're
using Slack, once I try it I can post a really good tutorial in either Linux Tutorials or
Linux Wiki here at LQ and you could follow that.

DavidPhillips 05-24-2004 10:33 PM

Offfice and a few other programs have that ability, it's not really the OS that does it.

Warmaster 05-25-2004 04:03 AM

...
 
internet, mail (including TB), and any other prog where it would be useful has it.

ok, I'll be happy if you could help me set up my 5 button mouse with MDK10 OFFFICIAL. :D

motub 05-25-2004 04:17 AM

Linux: Five Button Mouse might help you do that.


All times are GMT -5. The time now is 07:33 AM.