Logitech mouse button mapping

Hello the issue I am having is that my Logitech g300s extra buttons are wonky. Specifically 6 and 7 or 10 and 11. 1 2 3 4 5 8 9 work fine but the top right button is very odd and by odd I mean it types — this when I key it, I also use this button for gaming PTT which makes it a pain. I have used Ratbagb and Piper but they do not detect the mouse even after reinstalling them and rebooting. I am at a loss on what to do because I am extremely annoyed with this.

I put winders 10 in a vm and tried to use the lgs software but it isn’t seeing the mouse. Any help please would be appreciated. Oh and xev output doesn’t show the button presses I mentioned. Below is a screenshot to show what buttons it does register.



View Reddit by TeknoVixxenView Source

User Review
0 (0 votes)

1 Comment

Click here to post a comment

  • I’m not sure if it’ll solve your problem or not, but I remap the buttons on my logitech mouse using a simple xmodmap script.

    In my X login, I’ve got a script that runs

    xmodmap -e “pointer = 1 10 3 4 5 6 7 8 9 2”

    which swaps button 10 and button 2


    For your problem, you may also find

    xmodmap -pp

    useful, which should tell you what x is CURRENTLY doing with your button mapping.


    edit: I should also add, I think my way is the OLD way now. I think the modern way is to do something similar with xinput. But my script long pre-dates xinput, and still works, so I haven’t bothered to evolve…