sephiros9883
April 27th, 2008, 11:08 AM
Affected:
Ubuntu Hardy 8.04 final, Firefox3 beta 5, Wine 0.9.60
Problem:
Out the box, the thumb mouse buttons don't work in wine. When editing the xorg.conf file, you can make it work in wine but it breaks back and forward in Firefox.
Assumptions:
You have a 7 buttons mouse (right click, left click, middle click, scroll down, scroll up, back and forward).
Solution:
Edit your xorg.conf file
sudo gedit /etc/X11/xorg.conf
Replace the InputDevice section by the following lines:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
The configuration found here (http://ubuntuforums.org/showpost.php?p=4813211&postcount=3) has been reported to work
Save and restart X server(save all your current work and press ctrl + alt + bckspace)
log back in
Execute xev in a terminal:
$ xev
Make sure your back and forward buttons are binded to 6 and 7. you may have to play with the above xorg config.
Start Firefox
In the url bar, type:
about:config
Change those options for the indicated values:
mousewheel.horizscroll.withnokey.action = 2
mousewheel.horizscroll.withnokey.numlines = -1
mousewheel.horizscroll.withnokey.sysnumlines = false
That's it, Back and forward should work in firefox and wine should recognize those buttons as mouse 4 and mouse 5.
Let me know if it worked for you or if you needed to change the xorg.conf!
Ubuntu Hardy 8.04 final, Firefox3 beta 5, Wine 0.9.60
Problem:
Out the box, the thumb mouse buttons don't work in wine. When editing the xorg.conf file, you can make it work in wine but it breaks back and forward in Firefox.
Assumptions:
You have a 7 buttons mouse (right click, left click, middle click, scroll down, scroll up, back and forward).
Solution:
Edit your xorg.conf file
sudo gedit /etc/X11/xorg.conf
Replace the InputDevice section by the following lines:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
The configuration found here (http://ubuntuforums.org/showpost.php?p=4813211&postcount=3) has been reported to work
Save and restart X server(save all your current work and press ctrl + alt + bckspace)
log back in
Execute xev in a terminal:
$ xev
Make sure your back and forward buttons are binded to 6 and 7. you may have to play with the above xorg config.
Start Firefox
In the url bar, type:
about:config
Change those options for the indicated values:
mousewheel.horizscroll.withnokey.action = 2
mousewheel.horizscroll.withnokey.numlines = -1
mousewheel.horizscroll.withnokey.sysnumlines = false
That's it, Back and forward should work in firefox and wine should recognize those buttons as mouse 4 and mouse 5.
Let me know if it worked for you or if you needed to change the xorg.conf!