Sharkoon Fireglider Back/Forward Buttons Linux

Because of my RSI-Syndrome, I got myself a supposedly good mouse. I chose a Sharkoon Fireglider, which is actually a gaming mouse, but looks office-ish enough for me.

Like usual everything worked out of the box on my Ubuntu Linux, no need to install any driver, just the back/forward buttons were not working as expected. Seems Sharkoon mapped their buttons differently than usual.

This simple command on the terminal made it work:

xinput set-button-map 12 1 2 3 4 5 0 0 9 8

It maps the key-event 9 to event no 8 and vice versa. (12 is the ID of my mouse, you can get yours by executing “xinput list”) Read this wiki if you need to know more details.

Done. [EDIT 2012-09-10] These changes were not permanent. To make them permanent, I created a file 50-sharkoon-fireglider.conf at /usr/share/X11/xorg.conf.d/ containing:

Section "InputClass"
        Identifier      "Sharkoon Fireglider USB"
        MatchProduct    "A4TECH USB Device"
        MatchDevicePath "/dev/input/event*"
        Option "ButtonMapping" "1 2 3 4 5 6 7 9 8"
EndSection

restarted X and it works! [/EDIT]

4 thoughts on “Sharkoon Fireglider Back/Forward Buttons Linux”

    1. The weel is working out of the box on my computer. “Button” 4 and 5 are by default MouseWheelUp and MouseWheelDown (at least in my installation)

  1. Hi, i just got this mouse (new).
    This is my xinput list:

    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ USB+PS/2 Optical Mouse id=8 [slave pointer (2)]
    ⎜ ↳ A4TECH USB Device id=9 [slave pointer (2)]
    ⎜ ↳ A4TECH USB Device id=10 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Power Button id=7 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]

    Is the content of the file you posted right for me or should i change some part? I’ve saved it in the right location but forward and back buttons still don’t work.
    Thanks

    1. The “A4TECH USB Device” part looks just like it is supposed to be. I’m still using this mouse (in the meantime with Ubuntu 17.04) and it still works for me. Have you restarted your X Window System after creating that config file?

Leave a Reply

Your email address will not be published. Required fields are marked *