Making *all* the Buttons of your Logitech MX510 work

If you’d Google for a solution you would see that many users have problems making the buttons of the MX510 and other Logitech mices work. Here’s one solution that works fine with my MX510 and Gentoo 2005.1:

Grab a coffee, open your favorite editor and add the line

pointer = 1 2 3 6 7 8 9 10 4 5

to the .Xmodmap file in your homedirectory (/home/filzo, for example).

For the next step you need to be the root user. Open your /etc/X11/xorg.conf, if you are using X.org or your /etc/X11/XFree86.conf in case you use XFree86 and add this section:

Section “InputDevice”
Identifier “Mouse0″
Driver “mouse”
Option “Protocol” “ExplorerPS/2″
Option “Device” “/dev/input/mice”
Option “Dev Name” “Logitech”
Option “CorePointer”
Option “Buttons” “10″
Option “ZAxisMapping” “9 10″
EndSection

Now you’ve got to restart your X-Server, open a terminal and type

xmodmap /home/user/.Xmodmap

in order to start xmodmap.

5 Kommentare zu Making *all* the Buttons of your Logitech MX510 work

  1. manoftheweek's Gravatar manoftheweek
    Geschrieben am 14. Dezember 2006 um 23:44 | Permalink

    wrong! ^^

    wright:

    ~yourusername/.Xmodmap:

    pointer = 1 2 3 8 9 4 5 6 7 10 11 12 13 14

    /etc/X11/xorg.conf:

    Section “InputDevice”
    Driver “mouse”
    Identifier “Mouse[1]”
    Option “Buttons” “7″
    Option “Device” “/dev/input/mice”
    Option “Name” “MX510″
    Option “Protocol” “ExplorerPS/2″
    Option “Vendor” “Logitech”
    Option “ZAxisMapping” “6 7″
    Option “Resolution” “800″
    EndSection

  2. Geschrieben am 15. Dezember 2006 um 0:49 | Permalink

    Are you sure? I gonna test it, but not now (it’s 12:49 am here)

  3. Fractalz's Gravatar Fractalz
    Geschrieben am 7. März 2007 um 1:54 | Permalink

    It didn’t work :/ both versions messed up everything

  4. Liszca's Gravatar Liszca
    Geschrieben am 28. April 2007 um 20:23 | Permalink

    hi,
    this is my .Xmodmap:

    pointer = 1 2 3 8 9 4 5 6 7

    and this is my xorg.conf

    Section “InputDevice”
    Identifier “Configured Mouse”
    Driver “mouse”
    Option “Buttons” “9″
    Option “CorePointer”
    Option “Device” “/dev/input/mice”
    Option “Protocol” “ExplorerPS/2″
    Option “Emulate3Buttons” “true”
    Option “ZAxisMapping” “6 7″
    # Option “ZAxisMapping” “4 5″
    EndSection

    first it looked like it works, i can jump back and forward in mozilla, and i can scroll pages up and down. but there are three more buttons, two on top (in a line with the wheel) and one below the wheel. before i tell you what they do, i just want them to do nothing if i press them.

    now what they do:
    the topest one: nothing = great
    below this one: scroll down = ok, i can live with this, but nothing i like more
    now the one below the wheel: scroll up and back = totally crap how can i fix this?

    if i test my mousebottons:
    buttons 4 & 5 = OK (back & forward in mozilla)
    wheel 6 & 7 = OK (scroll page up & down)
    badbutton! 4+6 = Bad (scroll page up & back in mozilla)

    hope you understand my english thanks if you can help me, please!

Einen Kommentar hinterlassen

last.fm