Announcement

Collapse
No announcement yet.

How do I set my mousebuttons to go forward / backwards in the browser?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I set my mousebuttons to go forward / backwards in the browser?

    I have a Logitech G5. Is there any way I can set the side buttons to go forward or backwards in the web browser? They do this automatically in my other OS.
    Dual Boot: Windows 7 / Kubuntu

    #2
    Re: How do I set my mousebuttons to go forward / backwards in the browser?

    Do some web searching next time:

    You can do it with xmodmap or by editing your xorg.conf

    Code:
    Section "InputDevice"
    Identifier "Logitech G5"
    Driver "evdev"
    Option "Name" "Logitech USB Gaming Mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/by-id/usb-Logitech_USB_Gaming_Mouse-event-mouse"
    Option "ZAxisMapping" "4 5 7 8"
    Option "Buttons" "8"
    EndSection

    Please Read Me

    Comment


      #3
      Re: How do I set my mousebuttons to go forward / backwards in the browser?

      You didn't mentioned the browser. For example in Opera it is customizable in Settings. It is possible, that some browsers are prepared to use Button 6 and Button 7 and your mouse generates Button 8 and Button 9 or vice versa.
      Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

      Comment


        #4
        Re: How do I set my mousebuttons to go forward / backwards in the browser?

        typing xmodmap -ppe in a terminal will print out current button assignments. Useful if you need to swap buttons (like for a lefty).

        Please Read Me

        Comment


          #5
          Re: How do I set my mousebuttons to go forward / backwards in the browser?

          Editing X will help ID the extra buttons if not automatically done but there is no guarantee they'll work as Forward and Backward in Web Browsers. A common request (http://brainstorm.ubuntu.com/item/6186/). The links bellow might help.

          https://help.ubuntu.com/community/ManyButtonsMouseHowto
          http://www.ollisalonen.com/btnx/

          Comment


            #6
            Re: How do I set my mousebuttons to go forward / backwards in the browser?

            I thought hal did this automatically in recent builds

            Comment


              #7
              Re: How do I set my mousebuttons to go forward / backwards in the browser?

              Which web browser? I have no "InputDevice" in my xorg.conf and the side buttons work as expected in Firefox and Chromium but do not work in konqueror.

              Comment


                #8
                Re: How do I set my mousebuttons to go forward / backwards in the browser?

                Originally posted by skunk
                I thought hal did this automatically in recent builds
                @Skunk
                No, X does that and why for most newer releases (since 9.04 I think) users don't have a xorg.conf defined. If your's work then I'd have to ask what Kubuntu version are you on?

                @allwires
                What version of Kubuntu are you using?

                Comment


                  #9
                  Re: How do I set my mousebuttons to go forward / backwards in the browser?

                  Originally posted by MoonRise
                  @Skunk
                  No, X does that and why for most newer releases (since 9.04 I think) users don't have a xorg.conf defined. If your's work then I'd have to ask what Kubuntu version are you on?
                  Karmic. I need to have an xorg.conf because I use nvidia twinview but there are no "InputDevice" stanzas in the file.

                  I also run Arch with "the latest" xorg and it works exactly the same there also.

                  Comment


                    #10
                    Re: How do I set my mousebuttons to go forward / backwards in the browser?

                    I too have no mouse section but if you look in your Xorg.0.log file near the end you'll see a large section called XINPUT. My M$ wireless usb mouse is supported automatically including left-right scroll wheel tilting. Here's what mine looks like:
                    (II) config/hal: Adding input device Macintosh mouse button emulation
                    (**) Macintosh mouse button emulation: always reports core events
                    (**) Macintosh mouse button emulation: Device: "/dev/input/event2"
                    (II) Macintosh mouse button emulation: Found 3 mouse buttons
                    (II) Macintosh mouse button emulation: Found x and y relative axes
                    (II) Macintosh mouse button emulation: Configuring as mouse
                    (**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
                    (**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
                    (II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
                    (**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
                    (**) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
                    (**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
                    (**) Macintosh mouse button emulation: (accel) set acceleration profile 0
                    (II) Macintosh mouse button emulation: initialized for relative axes.
                    (II) config/hal: Adding input device Microsoft Microsoft Wireless Optical Mouse® 1.0A
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: always reports core events
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: Device: "/dev/input/event4"
                    (II) Microsoft Microsoft Wireless Optical Mouse® 1.0A: Found 9 mouse buttons
                    (II) Microsoft Microsoft Wireless Optical Mouse® 1.0A: Found x and y relative axes
                    (II) Microsoft Microsoft Wireless Optical Mouse® 1.0A: Found scroll wheel(s)
                    (II) Microsoft Microsoft Wireless Optical Mouse® 1.0A: Configuring as mouse
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: YAxisMapping: buttons 4 and 5
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
                    (II) XINPUT: Adding extended input device "Microsoft Microsoft Wireless Optical Mouse® 1.0A" (type: MOUSE)
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: (accel) keeping acceleration scheme 1
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: (accel) filter chain progression: 2.00
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: (accel) filter stage 0: 20.00 ms
                    (**) Microsoft Microsoft Wireless Optical Mouse® 1.0A: (accel) set acceleration profile 0
                    (II) Microsoft Microsoft Wireless Optical Mouse® 1.0A: initialized for relative axes.
                    Bold added to show hal finding mouse

                    Please Read Me

                    Comment

                    Working...
                    X