View previous topic :: View next topic |
Author |
Message |
Pigeon Guru
Joined: 21 Jun 2002 Posts: 307
|
Posted: Wed Aug 07, 2002 7:38 am Post subject: 5 button mouse? |
|
|
Anyone know how to get buttons 4 and 5 working on a MS intellimouse? Even if I could bind them to a keyboard button it would be nice. From what I understand, xfree doesn't support 5 button mice but there's a way to hack around it.
I have the mousewheel, the left, right and middle buttons working, but buttons 4 and 5 give me the same function and middle clicking and right clicking.
I tried googling for "5 button mouse" and stuff like that and got a bunch of stuff like "Section 5: Configuring a 3 button mouse." Quite infuryating. |
|
Back to top |
|
|
Dolio l33t
Joined: 17 Jun 2002 Posts: 650
|
Posted: Wed Aug 07, 2002 8:02 am Post subject: |
|
|
I have a 5 button wheelmouse myself, and I've been wondering this same thing for a while. So I went googleing (searched for explorerps, in case you were wondering ), and found this (German, I think) howto: poor Google translation which seems to have a link to a program that can redefine mouse keys to be any x recognized keyboard key.
I'll have to try this out myself (although I probalby won't be able to get the back/forward in web browser stuff working like it did in windows (sigh)). _________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Wed Aug 07, 2002 12:12 pm Post subject: |
|
|
I've searched for that soooo long!
Thanks!!!
To get the side-buttons of the Intelli Explorer working as navigation-buttons you need to configure shorcuts on F11 for back and F12 for forward. Than you can use the following mapping-comand to get it working:
Code: | mousemap F11 F12 "1 2 3 6 7 4 5" |
_________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
chr1z Apprentice
Joined: 17 Jul 2002 Posts: 207
|
Posted: Wed Aug 07, 2002 1:44 pm Post subject: |
|
|
and how do u configure shorcuts on F11 for back and F12 for forward ? |
|
Back to top |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Wed Aug 07, 2002 2:30 pm Post subject: |
|
|
In KDE3.1aplha (I think it should be the same in 3.0):
Open Konqueror. Then goto Settings -> Configure Shortcuts. Choose Backward / Forward in the List and set F11 / F12 as alternative shortcut! _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
Pigeon Guru
Joined: 21 Jun 2002 Posts: 307
|
Posted: Thu Aug 08, 2002 12:51 am Post subject: |
|
|
Well, it sort of works. The XF86Config part worked, but mousemap isn't working right. It spits out this:
Code: | mousemap v0.3 (PID 6112) - mapping table: 1 2 3 6=F11 7=F12 4 5
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 2 (X_ChangeWindowAttributes) |
I can bind actions to the side buttons in q3, and xev is reporting that the the side buttons are in fact pointing at buttons 6 and 7, but I can't make 'em do anything. |
|
Back to top |
|
|
jackD n00b
Joined: 23 Jun 2002 Posts: 17
|
Posted: Thu Aug 08, 2002 3:22 am Post subject: |
|
|
I haven't tried using mousemap, but I did get the back and forward side buttons on my intellimouse Explorer working with imwheel.
Jack |
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Wed Aug 28, 2002 12:19 am Post subject: |
|
|
ok i'm having a bit of trouble i think i'm doing it in the XF86Config way, how might i tell if the other buttons are working i'm not sure they are, but i could be wrong. |
|
Back to top |
|
|
nesJa n00b
Joined: 19 Jul 2002 Posts: 8 Location: Jamaica
|
Posted: Wed Aug 28, 2002 1:17 am Post subject: |
|
|
Try adding this your .xinitrc file and see if it works. I'm not sure it will, just making a guess.
Code: | xmodmap -e "pointer = 1 2 3 6 7 4 5" |
_________________ "Don't be afriad of going slowly; be afraid of standing still" - Unknown |
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Wed Aug 28, 2002 1:21 am Post subject: |
|
|
well when i do that it completely gets rid of the mouse wheel, it seems my mouse may be a little different i dunno
EDIT:
ok i changed the protocol back to IMPS/2 from the ExplorerPS/2 that that one guide also suggested, that makes the scroll work with that xmodmap, however my 2 extra buttons work as they did before. hmm |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Wed Aug 28, 2002 8:38 am Post subject: |
|
|
I haven't tried binding them to keys yet, but I got the two extra buttons to work fine. Change your XF86Config to something like:
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection |
and then just add what nesJa posted to one of your startup scripts. You can use xev to check the buttons are being detected properly. |
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Wed Aug 28, 2002 8:36 pm Post subject: |
|
|
thanks alot, working great now! this might be a good thing to add to a faq somewhere, guess i'll have to book mark it and maybe get around to it later. |
|
Back to top |
|
|
Ard Righ Guru
Joined: 24 Jun 2002 Posts: 337 Location: Wellington, NZ
|
Posted: Thu Aug 29, 2002 5:59 am Post subject: |
|
|
"buttons" "7" in XFree ? What version of XFree are you running Wedge_ ? 4.2.x ? |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Aug 29, 2002 8:37 am Post subject: |
|
|
Yeah, 4.2.0 |
|
Back to top |
|
|
|