Skip to content

Support for 5-button mouse in Firefox : Ubuntu (6.06.1 / 6.10)

I’ve never been the type to use an *abomination mouse (as I call them) and I prefer not to use an abomination keyboard, but there are a lot of you out there that seem to enjoy them so I thought I would share the steps on getting them to work.

(* abomination mouse & keyboard, in my mind, is anything other than a standard mouse and keyboard. If your mouse has 6,000 buttons and your keyboard has enough buttons and dials to control a death-robot and soon rule the world it is an abomination.)

Below are the steps for setting up your 5 (or more) button mouse for use in Firefox (tomorrow’s tip is support within Nautilus!).

  1. Backup your xorg.conf file (ALWAYS backup this file before even thinking about touching it): sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup
  2. Edit the file: sudo nano gedit /etc/X11/xorg.conf
  3. Find the Section “Input Device” for your mouse and change the following:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
.....
Option "Protocol" "ExplorerPS/2"
.....
Option "Emulate3Buttons" "true"
EndSection

to include the multiple button mouse support:

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
…..
Option “Protocol” “ExplorerPS/2″
…..
Option “Emulate3Buttons” “true”
Option “Buttons” “7″
Option “ButtonMapping” “1 2 3 6 7″
EndSection

At this point you can restart your computer (or possibly just GNOME using ctrl-alt-backspace). You should then have support for your additional buttons within Firefox. Enjoy your world domination!

If this site has been useful, please consider participating in the Fundraiser.

Other Points of Interest

  • No Related Post