Results 1 to 8 of 8

Thread: disable forward/back mouse buttons in firefox

  1. #1
    Join Date
    Jan 2007
    Location
    Baltimore, MD
    Beans
    841
    Distro
    Ubuntu

    Red face disable forward/back mouse buttons in firefox

    i have a logitech LX7 wireless USB mouse. the scroll wheel has the added feature of being tilt wheel. In hardy heron, the tilt wheel makes firefox(3.0) go back a page if you tilt the wheel left. this may be a nice feature for some users, but i find myself hitting the tilt wheel by accident more often than not which is very frustrating. I would like to change this setting to make the page scroll horizontally intead, or at least just disable it altogether.

    can anyone provide some help?

  2. #2
    Join Date
    Jun 2007
    Location
    Poughkeepsie, NY
    Beans
    5,810
    Distro
    Ubuntu

    Re: disable forward/back mouse buttons in firefox

    you will need to edit your xorg.conf file

    do me a favor and post the contents of the file and I'll help you fix it

    in terminal type or paste the following command

    Code:
    sudo gedit etc/X11/xorg.conf

  3. #3
    Join Date
    Apr 2007
    Location
    Finland
    Beans
    18

    Re: disable forward/back mouse buttons in firefox

    One thing you can try is to type about:config in the Firefox address bar, click the "I'll be careful, I promise!" button and then locate the mousewheel.horizscroll.withaltkey.action setting and change its value to zero. You might need to restart the browser to make it effective. This fixes the problem at least on some mice.

  4. #4
    Join Date
    Jan 2007
    Location
    Baltimore, MD
    Beans
    841
    Distro
    Ubuntu

    Re: disable forward/back mouse buttons in firefox

    Quote Originally Posted by jomiolto View Post
    One thing you can try is to type about:config in the Firefox address bar, click the "I'll be careful, I promise!" button and then locate the mousewheel.horizscroll.withaltkey.action setting and change its value to zero. You might need to restart the browser to make it effective. This fixes the problem at least on some mice.
    tried this, but it didnt do anything. thanks for the suggestion though.


    @lowsky: here my is my xorg.conf:
    Code:
    $ cat /etc/X11/xorg.conf
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option 		"9"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Synaptics Touchpad"
    	Driver		"synaptics"
    	Option		"SendCoreEvents"	"true"
    	Option		"Device"	"/dev/psaux"
    	Option		"Protocol"	"auto-dev"
    	Option		"HorizEdgeScroll"	"0"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver		"fglrx"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	Defaultdepth	24
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      screen "Default Screen"
    	Inputdevice	"Synaptics Touchpad"
    EndSection
    Section "Module"
    	Load		"glx"
    EndSection

  5. #5
    Join Date
    Jun 2007
    Location
    Poughkeepsie, NY
    Beans
    5,810
    Distro
    Ubuntu

    Re: disable forward/back mouse buttons in firefox

    ok I changed your mouse settings so that the left/right scroll should work at a schroll and not page change. log back into your xorg file and delete this part,
    Code:
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option 		"9"
    EndSection

    replace with this
    Code:
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"        "/dev/input/mice"
            Option          "Protocol"      "ExplorerPS/2"
            Option          "ZAxisMapping"  "4 5"
            Option          "XAxisMapping"  "6 7"
            Option          "Emulate3Buttons"       "true"
            Option          "Buttons"       "7"
            Option          "ButtonMapping" "1 2 3"
    EndSection
    it should look like this when done

    Code:
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"        "/dev/input/mice"
            Option          "Protocol"      "ExplorerPS/2"
            Option          "ZAxisMapping"  "4 5"
            Option          "XAxisMapping"  "6 7"
            Option          "Emulate3Buttons"       "true"
            Option          "Buttons"       "7"
            Option          "ButtonMapping" "1 2 3"
    EndSection
    
    
    
    Section "InputDevice"
    	Identifier	"Synaptics Touchpad"
    	Driver		"synaptics"
    	Option		"SendCoreEvents"	"true"
    	Option		"Device"	"/dev/psaux"
    	Option		"Protocol"	"auto-dev"
    	Option		"HorizEdgeScroll"	"0"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver		"fglrx"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	Defaultdepth	24
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      screen "Default Screen"
    	Inputdevice	"Synaptics Touchpad"
    EndSection
    Section "Module"
    	Load		"glx"
    EndSection
    then save and restart X by hitting Ctrl+Alt+Backspace

    If It didn't work let me know
    Last edited by LowSky; July 15th, 2008 at 02:33 PM.

  6. #6
    Join Date
    Jan 2007
    Location
    Baltimore, MD
    Beans
    841
    Distro
    Ubuntu

    Re: disable forward/back mouse buttons in firefox

    i made the changes you suggested, and restarted the computer, but my mouse still has the same problem.

    here is my current xorg.conf:

    Code:
    davef@laptop:~$ cat /etc/X11/xorg.conf
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"        "/dev/input/mice"
            Option          "Protocol"      "ExplorerPS/2"
            Option          "ZAxisMapping"  "4 5"
            Option          "XAxisMapping"  "6 7"
            Option          "Emulate3Buttons"       "true"
            Option          "Buttons"       "7"
            Option          "ButtonMapping" "1 2 3"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Synaptics Touchpad"
    	Driver		"synaptics"
    	Option		"SendCoreEvents"	"true"
    	Option		"Device"	"/dev/psaux"
    	Option		"Protocol"	"auto-dev"
    	Option		"HorizEdgeScroll"	"0"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver		"fglrx"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	Defaultdepth	24
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      screen "Default Screen"
    	Inputdevice	"Synaptics Touchpad"
    EndSection
    Section "Module"
    	Load		"glx"
    EndSection
    if i run
    Code:
    imwheel -c
    (which is used to figure which buttons on the mouse are which), it tells me that "Thumb 1 (Button 8)" is activated when i tilt the wheel left (go back a page in firefox) and "Thumb 2 (Button 9)" is for going forward a page.

  7. #7
    Join Date
    Jan 2007
    Location
    Baltimore, MD
    Beans
    841
    Distro
    Ubuntu

    Re: disable forward/back mouse buttons in firefox

    bump. anyone got another suggestion?

  8. #8
    Join Date
    Apr 2006
    Location
    Michigan
    Beans
    55
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: disable forward/back mouse buttons in firefox

    I had the same problem. I have a MX5 and its hard to middle click without hitting the horizontal scroll buttons. I ended up using btnx to do it and assigning the horizontal scrolling buttons as middle click. http://www.ollisalonen.com/btnx/

    There is a thread about btnx here too: http://ubuntuforums.org/showthread.php?t=455656

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •