LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-14-2006, 07:05 PM   #1
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Rep: Reputation: 15
Lightbulb Mouse button config problem solved


I have a Microsoft IntelliMouse Explorer mouse (wheel with two side, or thumb, buttons).

# cat /proc/bus/input/devices
I: Bus=0003 Vendor=045e Product=001e Version=0114
N: Name="Microsoft Microsoft IntelliMouse® Explorer"
P: Phys=usb-0000:00:1d.1-2/input0
H: Handlers=mouse0 event1
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103

I am running Mandriva 2006 Free and after updating xorg (via MCC) my side buttons suddenly stopped working (i.e. Firefox stopped recognizing them as forward/back buttons). After extensive searching and failed fiddling with xorg.conf and imwheel (not needed BTW) it dawned on me that xmodmap was not set up properly.
Under Mandriva xmodmap is called from /etc/X11/xinit.d/mouse_buttons
It was
xmodmap -e 'pointer = 1 2 3 6 7 4 5'
since this mouse has 11 buttons (as shown by xmodmap -pp)

# xmodmap -pp
There are 11 pointer buttons defined.
--snip--

I tried this instead
xmodmap -e 'pointer = 1 2 3 8 9 4 5 6 7 10 11'

Apparently, physical buttons 4 and 5 are the side buttons and the code for buttons 8 and 9 send the codes for <alt>-left and <alt>-right (back and forward). I assume this is correct because all the buttons now work as expected (even the wheel).

And, yes, it continues to work after a reboot.

Hope this helps.
 
Old 01-15-2006, 02:57 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
thanx, good 2 know.
 
Old 01-19-2006, 12:28 AM   #3
Vikinghat
LQ Newbie
 
Registered: Aug 2003
Location: UK
Distribution: Mandriva 2006
Posts: 7

Rep: Reputation: 0
Thank you - I was just starting to get seriously annoyed at the loss of the buttons after an update to Mandriva 2006, and the lack of info through Google.

xmodmap -e 'pointer = 1 2 3 8 9 4 5 6 7 10 11'

Did the trick.
 
Old 01-20-2006, 12:42 AM   #4
jimbob1234
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 21

Rep: Reputation: 15
Smile

Thanks!

Mouse buttons all work again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solved problem with mouse in Fedora core 2 marghorp Fedora 7 01-08-2005 04:48 PM
Problem with network config after upgrading to Mandrake 10 CE [solved] scasagra Mandriva 0 07-26-2004 10:05 PM
config middle mouse button has wheel function colorLinux Linux - Hardware 1 07-21-2004 01:42 PM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 08:59 AM
optical mouse sluggishness problem solved ahmetaa LinuxQuestions.org Member Success Stories 0 07-17-2003 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration