![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Location: Earth
Beans: 8
|
HOWTO: 5 button mouse working on firefox (back/forward buttons)
Hi
I've got it here (for Xandros): http://www.adamfranco.com/?site=afra...22&action=site It works for me in Ubuntu. I've made some corrections... 1. Edit /etc/X11/xorg.conf replace Section "InputDevice" Identifier "mouse.usb" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "IMPS/2" Option "Emulate3Buttons" "YES" Option "ZAxisMapping" "4 5" EndSection with Section "InputDevice" Identifier "mouse.usb" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "Buttons" "7" Option "ZAxisMapping" "6 7" EndSection 2. Install IMWheel via apt 3. put the following lines in the .xsession file in your home directory:** exec xmodmap -e "pointer = 1 2 3 6 7 4 5" & exec imwheel -k -b "67" & exec $REALSTARTUP 4. put the following lines at the bottom of /etc/X11/imwheel/imwheelrc ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right "(null)" None, Up, Alt_L|Left None, Down, Alt_L|Right 5. hit CTRL+ALT+BACKSPACE to restart X and log back in. Your back/forward buttons should now work in Firefox. ** this don't worked for me in Ubuntu. So I made a script file called "mouse", like the following, and put it on /home/"login"/.kde/Autostart, and in "Sessions">"start programs" on Gnome. Don't forget to make it executable (chmod +x mouse) #!/bin/sh exec xmodmap -e "pointer = 1 2 3 6 7 4 5" & exec imwheel -k -b "67" & exec $REALSTARTUP Last edited by James Brown; April 19th, 2005 at 11:40 PM.. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 6
|
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
Thanks! Worked for me in firefox. Didn't read the last part so my X session crashed on me when I made the .xsession file...oops!
Anybody know how to have this work with Epiphany? I'd rather use that browser but I'm really missing this feature for my mouse (MX500) |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 6
|
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
Found it!
Just edited /etc/X11/xorg.conf Option "ZAxisMapping" "6 7" Option "Buttons" "9" Then edited the mouse script to reflect this exec xmodmap -e "pointer = 1 2 3 6 7 4 5 8 9 " & exec imwheel -k -b "67" & exec $REALSTARTUP Works with a Logitech MX500 |
|
|
|
|
|
#4 |
|
Dipped in Ubuntu
![]() Join Date: Apr 2005
Location: Sweden
Beans: 523
Ubuntu 9.04 Jaunty Jackalope
|
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
For me it was enough to do the editing of xorg.conf part.
Although I had to set the ZAxisMapping to "4 5" instead of "6 7". So I recommend that you try without installing IMWheel and editing .session and if it still doesn't work after restart of X, do the rest of the stuff. (I'm using a Intellimouse Explorer in Gnome)
__________________
Hackers of the world, unite! |
|
|
|
|
|
#5 | |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
Quote:
u did all the process upthere or just edited this few lines in xorg.conf??? |
|
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2004
Location: Austria (Upper Austria)
Beans: 54
|
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
|
|
|
|
|
|
#7 |
|
Gee! These Aren't Roasted!
![]() |
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
I have known about this hack for a while, but is there anyway to get the extra buttons to work with Nautilus and Konqueror?
|
|
|
|
|
|
#8 | |
|
Just Give Me the Beans!
![]() Join Date: Dec 2004
Location: Austria (Upper Austria)
Beans: 54
|
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
Quote:
|
|
|
|
|
|
|
#9 | |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
Quote:
the only problems ar with scrolling buttons (tey go back and forward if there is the possibility to do it) and with the 9th button that simply doesnt work..... for the rest works great! anyway i don'use those buttons |
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2005
Location: Oxford, UK
Beans: 30
|
Re: HOWTO: 5 button mouse working on firefox (back/forward buttons)
I have a USB Optical IntelliMouse, and only needed to edit xorg.conf as follows to get the side buttons working in Firefox.
Code:
Option "Protocol" "ExplorerPS/2" Option "Buttons" "7" Option "ZAxisMapping" "4 5" |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|