I have a mouse with 7 buttons, which I recently activated all of it's buttons. So now I have 2 exra buttons, button 6 and 7.
I'd like to map one of them to be alt+button1, so that I can drag a window with a single mouse button from every position.
Can you please tell me how to do so?
imwheel does this. you should be able to find it in the AUR.
Thanks. I'm having some issues with imwheel though, hope you can help me out a bit.
I have 2 side buttons, in my mouse, according to xev they are mapped as button 6 and button 7.
Now, I'd like to map them both to alt+button1 (left mouse button).
This is what my ~/.imwheelrc looks like:
".*" None, Up, Alt_L|Button1 None, Down, Alt_L|Button1
I'm launching imwheel using `imwheel -b "67"` but it doesn't seem to work.
i haven't played with imwheel in a long time, since firefox natively supports back/forward buttons now.
anyway, Up and Down are your scroll wheel, so i'd suggest trying different buttons there.
You are most likely going to have to flip some buttons around with xmodmap. Try the following.
xmodmap -e "pointer = 1 2 3 7 6 4 5"
Leave the settings for imwheel the same though.
I've done some testing and the Up and Down naming seems ok.
I think I need to put a delay between the output keys, so that Alt_L is pressed, and after a 10th of a second Button1 is pressed.
Any ideas as to how I might achieve that?