Penguin

Differences between version 68 and predecessor to the previous major change of MozillaNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 68 Last edited on Saturday, January 28, 2006 12:40:59 am by AllanBlack Revert
Older page: version 67 Last edited on Tuesday, January 17, 2006 11:22:57 am by JohnMcPherson Revert
@@ -268,9 +268,39 @@
  None, Up, Alt_L|Left 
  None, Down, Alt_L|Right 
 </verbatim> 
  
-Finally, run 'imwheel -b 67' to map buttons 6 and 7 only. See Google or the IMWheel site for more examples. --Pradeep Sanders  
+Finally, run 'imwheel -b 67' to map buttons 6 and 7 only. See Google or the IMWheel site for more examples.  
+ --PradeepSanders  
+  
+Another possibility is to remap the mouse buttons using xmodmap. This was actually done under Solaris (Nevada build 30), but I see no reason why it shouldn't also work under Linux (I don't currently have a Linux machine to try it).  
+  
+I discovered through trial and error (and a little luck) that buttons 6 and 7 were indeed making Mozilla move back and forward through the browsing history (I didn't actually have to do any of the above steps).  
+  
+Using xev to debug the mouse buttons (I have a Logitech MX700), I found the following:  
+<verbatim>  
+Button Desc  
+1 Normal left button  
+2 Press the wheel  
+3 Normal right button  
+4 Wheel up  
+5 Wheel down  
+6 Wheel up fast  
+7 Wheel down fast  
+8 Back thumb button  
+9 Forward thumb button  
+10 The one on the top  
+11 Don't know  
+</verbatim>  
+  
+6 and 7 are generated if the mouse wheel is spun very quickly, and they make Mozilla move through the browse history. Also, for some reason, the USB driver seems to detect 11 buttons - maybe it's a bug in the driver (but it doesn't seem to do any harm).  
+  
+Obviously, I'd like buttons 8 and 9 to make Mozilla move through the browse history, so I swapped them with buttons 6 and 7 using xmodmap:  
+  
+<verbatim>  
+xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7 10 11"  
+</verbatim>  
+-- AllanBlack  
  
 !! Type-ahead Find Problems 
 I was having problems where somehow typeahead find would become enabled whenever I tried to type into the address bar and it was near on impossible to get out of the typeahead find mode. To disable it set 
  accessibility.typeaheadfind