Logitech MX510 Button Functionality

Posted on 2004-11-25
Last Modified: 2013-12-15
I just finished installing suse 9.2 pro on my system.  I have a
Logitech MX510 mouse.  I want to be able to use the back and forward
buttons on the side of this mouse.  Can someone point me in the right
direction in setting up these buttons for this type of mouse?  Thank you!
Question by:dev8
    LVL 17

    Expert Comment

    Try  running "xmodmap -e "pointer = 1 2 3 6 7 4 5"" without the quotes.
    LVL 2

    Author Comment


    I tried that but I got:

    xmodmap:  commandline:0:  bad number of buttons, must have 10 instead of 7
    xmodmap:  1 error encountered, aborting.

    I guess since the mouse has 10 buttons rather than 7?  
    LVL 38

    Accepted Solution


    1. Check if your SuSE ready for event manager (as root)
    strings /usr/X11R6/bin/X | grep evdev

    2.   Open up your X-Config (/etc/X11/xorg.conf or /etc/X11/XF86Config) and
    look forward to the "Input Section". In this Section you can set up your Mouse like this:
    Section "InputDevice"
            Identifier  "Mouse[0]"
            Driver      "mouse"
            Option      "Protocol" "evdev"
            Option        "Dev Name" "Logitech USB-PS/2 Optical Mouse" # cat /proc/bus/input/devices
            Option        "Dev Phys" "usb-*/input0" # cat /proc/bus/input/devices
            Option        "Device" "/dev/input/mice" # (/dev/input/mice also appears to work)
            Option      "Buttons" "10"
            Option        "ZAxisMapping" "9 10"
            Option      "Resolution" "800"

    echo -e "pointer = 1 2 3 6 7 8 9 10 4 5\n" > ~/.Xmodmap
    xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"

    4. Restart X

    For more details, please check:


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now