extra mouse buttons in Firefox 0.8
I upgraded to Firefox 0.8 from Firebird 0.7, and now my extra mouse buttons don't work. I am using a Logitech MX500 optical USB mouse. Namely, the Forward and Back navigation buttons don't work. Well, technically they work, but the Back button now functions as page scroll up (e.g. scrollwheel up, keyboard up arrow) and the Forward buttons acts as a scroll down function. They worked in FB 0.7 and they still work in other applications (Konqueror, Mozilla 1.6, Epiphany, etc). Does Firefox 0.8 map buttons independently from X or what's going on? Is anyone else experiencing this?
relevant XF86Config lines: Code:
Identifier "Mouse1" Code:
# Logitech MX500 settings |
check this thread out, i had the same problem and solved it, its detailed in this thread
http://www.linuxquestions.org/questi...hreadid=144405 |
hmmm... this didn't show up when I searched. Anyway, I tried it, and now the back/forward buttons on the side of the mouse don't work at all in Firefox (not even as up/down arrow functions). Any ideas?
|
did you modify the ~/.imwheelrc file? it should look like this (slightly revised)
".*" None, Left, Alt_L|Left None, Right, Alt_L|Right "(null)" None, Left, Alt_L|Left None, Right, Alt_L|Right For some reason firefox 0.8's window name is '(null)', so im pretty confident this will fix your problem |
yes, I edited both ~/.imwheelrc and /etc/imwheelrc just to be sure. Back/Forward buttons do not work at all now -- they used to work everywhere but Firefox. This is strange.
|
ok, I changed some things around in .xinitrc and now buttons 6 and 7 work, just not as Back/Forward respectively. This is really starting to bug me...
|
maybe try without emulate 3 buttons? doubt it will help but anyway.
try backing up your /etc/X11/imwheelrc and then move the .imwheelrc from your home dir, renaming it to imwheelrc. Then the idea is you'll have only one conf file, with only the two options ".*" and "(null)". this knocks out a few variables, until you can figure out whats wrong. Have you used xev? what key/button codes do the thumb buttons and wheel return? If correctly set up the thumb buttons will register "alt" and "Left" or "Alt|L" (for the back button) when pressed, in the xev terminal output. |
Option "Emulate3Buttons" "yes" ...didn't do anything.
the single imwheelrc file didn't work either. In fact, all it did was make both button 6 and 7 act as 'up arrow' keys. xev outputs.... button 6: Code:
ButtonPress event, serial 27, synthetic NO, window 0x1000001, Code:
ButtonPress event, serial 27, synthetic NO, window 0x1200001, |
ok, I am continually changing things, and now I have the buttons working as left-right scrolling (side-to-side). How do I bind these actions to the Back/Forward buttons in Firefox?
I re-installed imwheel, didn't change XF86Config, and here's my current (relevant lines) imwheelrc: "(null)" None, Up, Alt_L|Left None, Down, Alt_L|Right ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right |
well the problem is to do with imwheel methinks, because the buttons are being reported by x, so the Xconfig part is fine, but theyre not being bound to the key combinations you want. Thats imwheel's job.
what version of imwheel are you running? (imwheel -v) can you see any errors/msgs in the X logfile to do with imwheel or xmodmap? because i had problems with imwheel not starting properly... also, just curious, y dont u just use exec imwheel -k -p -b "67" instead of BINARY=$(which imwheel) $BINARY -k -p -b "67" |
using imwheel 1.0.0pre5 (after having tried pre2). Similar results with both.
/var/log/XFree86.log snippet: (**) Option "Protocol" "ExplorerPS/2" (**) Mouse1: Protocol: "ExplorerPS/2" (**) Option "CorePointer" (**) Mouse1: Core Pointer (**) Option "Device" "/dev/input/mice" (**) Option "Buttons" "7" (**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ZAxisMapping" "6 7" (**) Mouse1: ZAxisMapping: buttons 6 and 7 (**) Mouse1: Buttons: 7 seems like everything is noticed properly. as for the .xinitrc file, I have since changed it to: exec xmodmap -e "pointer = 1 2 3 6 7 4 5" & exec imwheel -k -p -b -f "67" & thus removing the unnecessary BINARY variable. |
pre 5? didnt the guy in the other thread say that if you were usin that build, u need to use
imwheel -k -p -b -f "0067" ? |
Quote:
|
Hi, I had the same problem. I got mine working by changing ~/.imwheelrc from:
".*" None, Up, Alt_L|Left None, Down, Alt_L|Right to... ".*" None, Left, Alt_L|Left None, Right, Alt_L|Right Hope this helps! |
hi mpb98, thanks, but it didn't work for me.
|
All times are GMT -5. The time now is 08:47 PM. |