Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
5 button mouse?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Wed Aug 07, 2002 7:38 am    Post subject: 5 button mouse? Reply with quote

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. :evil:
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Wed Aug 07, 2002 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Wed Aug 07, 2002 12:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
chr1z
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 207

PostPosted: Wed Aug 07, 2002 1:44 pm    Post subject: Reply with quote

and how do u configure shorcuts on F11 for back and F12 for forward ?
Back to top
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Wed Aug 07, 2002 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Thu Aug 08, 2002 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
jackD
n00b
n00b


Joined: 23 Jun 2002
Posts: 17

PostPosted: Thu Aug 08, 2002 3:22 am    Post subject: Reply with quote

I haven't tried using mousemap, but I did get the back and forward side buttons on my intellimouse Explorer working with imwheel. :D

Jack
Back to top
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Wed Aug 28, 2002 12:19 am    Post subject: Reply with quote

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
View user's profile Send private message
nesJa
n00b
n00b


Joined: 19 Jul 2002
Posts: 8
Location: Jamaica

PostPosted: Wed Aug 28, 2002 1:17 am    Post subject: Reply with quote

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
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Wed Aug 28, 2002 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Aug 28, 2002 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Wed Aug 28, 2002 8:36 pm    Post subject: Reply with quote

thanks alot, working great now! :D 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
View user's profile Send private message
Ard Righ
Guru
Guru


Joined: 24 Jun 2002
Posts: 337
Location: Wellington, NZ

PostPosted: Thu Aug 29, 2002 5:59 am    Post subject: Reply with quote

"buttons" "7" in XFree ? What version of XFree are you running Wedge_ ? 4.2.x ?
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Aug 29, 2002 8:37 am    Post subject: Reply with quote

Yeah, 4.2.0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum