Using second left and right mouse buttons on a Lenovo P50 as back and forward?
I have a Lenovo P50, and I primarily use the bottom mouse buttons for left and right click. I was thinking it would be handy to remap the upper left and right buttons as back and forward buttons for quicker web browsing. Is there a way to do this on just these buttons?
Edit: Using Xorg, but I'd be happy to switch to Wayland if I need to.
Edited 15 Nov 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 7d75ro
12 comments
Are you using X11 or Wayland?
In case you're using X11 try "imwheel".
I'm using X11.
I looked into it a little, and I think imwheel sees the two left mouse buttons as the same input, right?
There's a tool which shows what button(s) you press, but I cannot remember its name. Try googling for it. This way you can see if the buttons send the same signals or not.
Deleted before we saved it.
this is kind of cheater mode....
since firefox has button 8 & 9 as back and forward (for mice that have them) - you can use this to you advantage.
for example:
xinput "TPPS/2 IBM TrackPoint" 8 2 9 4 5 6 7that would set what would normally be button1&3 to 8&9 respectively.
you can check xorg.conf/xinput for details on how to make persistent.
Ooooh, that sounds promising! I figured the touchpad and, well, titty mouse would be different devices!
yea, you can use
xinput listto see them.using ether id ## or name will work.
If you're using wayland and you figure it out, pls post your solution.
I'm using Xorg, but I definitely will post a solution if I find one!