GNOME Bugzilla – Bug 374601
Ability to control Metacity using additional mouse buttons (xbindkeys?)
Last modified: 2010-06-25 23:12:18 UTC
In Windows, Logitech software enabled me to use additional mouse button as Alt-Tab replacement. I wanted to do it with xbindkeys and bind Alt-Escape to a button using this command: /usr/bin/xvkbd -xsendevent -window gnome-panel -text "\[Alt]\[Escape]" but this doesn't work correctly. Is there any way I can control Metacity using mouse buttons?
*** Bug 449247 has been marked as a duplicate of this bug. ***
Created attachment 130223 [details] [review] Bind buttons Here's an initial attempt at a solution. I'm already finding it useful. I'm not sure using a spare bit in the keycode field is an ideal way to mark button bindings. Perhaps we need a separate flag. Also, I've made it so that the left, right, and middle buttons, and the scroll wheel, can't be bound at all, because these are so often used by applications. Perhaps this is being over-strict. Feedback welcome.
I love to use Alt+Wheel to raise/lower windows and I run a hacked Metacity to do it. While I realize I'm not a typical user, it seems reasonable to let people configure buttons 1-5 if they feel like it, although maybe at least one modifier should be required.
Why any modifier should be required? The point of having additional mouse buttons is to perform actions using just one finger. I have currently one button unused and if the patch allows to bind the Alt-Tab action to it (e.g. when I have windows A, B, C - clicking the button would move the focus between the 3 windows), this is great :) Unfortunately, I don't know how to correctly patch and compile it, and honestly I need a rock-stable system right now, so I cannot test the solution.
This is actually a dupe of a >7 year old bug. Since this hasn't seen any action in over a year, i'm assigning it over there and updating status. Feel free to track https://bugzilla.gnome.org/show_bug.cgi?id=621382 Thomas: Care to follow up with any progress you've had with this there? *** This bug has been marked as a duplicate of bug 621382 ***
Sorry, wrong bug. 108775 https://bugzilla.gnome.org/show_bug.cgi?id=108775 *** This bug has been marked as a duplicate of bug 108775 ***