Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing mouse button functions.
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
RandomExtrusion
n00b
n00b


Joined: 04 Apr 2011
Posts: 7

PostPosted: Sat Apr 16, 2011 8:52 pm    Post subject: Changing mouse button functions. Reply with quote

I'm wondering how to change mouse button functions... specifically; In windows I like to move my middle button (mouse wheel) click to the forward/back button (on the thumb)... it's better ergonomics for me and keeps my middle finger from getting sore when doing activities like Blender. I.E. How do I get the middle click to the "red" button http://www.microsoft.com/hardware/mouseandkeyboard/ProductDetails.aspx?pid=041?

Thanks :D

EDIT: ** P.S. I'm using Gnome.
Back to top
View user's profile Send private message
RandomExtrusion
n00b
n00b


Joined: 04 Apr 2011
Posts: 7

PostPosted: Sun Apr 17, 2011 12:50 am    Post subject: Reply with quote

Figured it out.

Code:
xinput set-button-map <device-id> 1 2 3 4 5 6 7 8 2 10 11 12 13


which effectively maps button 9 (the extra button) to button 2 (the middle button), for anyone else interested.

Nice article, after loads of digging:
http://wiki.birth-online.de/know-how/software/linux/remapping-mousebuttons[/code]
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Sun Apr 17, 2011 10:15 am    Post subject: Reply with quote

or you can set this in xorg file, using the command in bold
Quote:
Section "InputClass"
Identifier "Logitech Mouse"
Driver "evdev"
Option "ConstantDeceleration" "0"
Option "AccelerationProfile" "-1"
Option "ButtonMapping" "1 2 3 4 5 2 2"
MatchIsPointer "on"
MatchProduct "Logitech USB Receiver"


Hope this helps.

Bye
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
RandomExtrusion
n00b
n00b


Joined: 04 Apr 2011
Posts: 7

PostPosted: Mon Apr 18, 2011 12:54 pm    Post subject: Reply with quote

Nice, I like that better, thanks!
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