You are not logged in.
The issue is that when Dock my Thinkpad to docking station everything works normally except my mouse scrolling wheel. It does not scroll down, instead it scrolls right.
xev -event button
shows that scrolling down (on the hardware) is currently set to
button 7
which is also the scroll to the right. Scrolling down should be
button 5
determined by the track-pad able to scroll down which shows
button 5
.
How can I reprogram the mouse scrolling down to
button 5
instead of
button 7
Its a Logitec G502x mouse (not sure if that matters)
Last edited by Dontpanic_x (2025-04-27 23:58:28)
Offline
Online
Thank you for the Reply Seth. I did get the device name and the following code did change the mouse button to 5 instead of 7:
xinput set-button-map Logitech\ G502\ X 1 2 3 4 7 6 5 8 9 10 11 12 13 14 15 16 17 18 19 20
Which did reassigned the mouse button as intended, but unfortunately it did not allow for the scrolling down function to work. Not sure what else to try at this point as i attempted to install piper and solaar which did not solve the issue.
Any guesses or anything else I maybe able to try is much appreciated.
Offline
reassigned the mouse button as intended, but unfortunately it did not allow for the scrolling down function to work
Is this actually X11 or some wayland compositor?
Online
Sorry for late reply - X11
Offline
Which did reassigned the mouse button as intended, but unfortunately it did not allow for the scrolling down function to work.
Ok, please elaborate on that situation - xev now reports the expected buttons (4/5) but the client (which specifically) keeps scrolling sideways?
Assuming it's some gtk client, does eg
GDK_CORE_DEVICE_EVENTS=1 gtk3-demo
change anything?
Online
yeah, even though I changed the mouse wheel action to show the same as when I use the touch pad (I.E. touch pad to scroll down shows as button 7) the mouse wheel even though its assigned as button 7 still doesnt scroll down.
Not sure if thats what you meant by elaborate but thats pretty much the jist of the problem
Offline
the mouse wheel even though its assigned as button 7
What?
Button 7 is horizontal scroll (to the right), that's wrong.
The vertical wheel are buttons 4 + 5 (5 being downwards)
Online