After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 374601 - Ability to control Metacity using additional mouse buttons (xbindkeys?)
Ability to control Metacity using additional mouse buttons (xbindkeys?)
Status: RESOLVED DUPLICATE of bug 108775
Product: metacity
Classification: Other
Component: general
2.30.x
Other All
: Normal enhancement
: ---
Assigned To: Thomas Thurman
Metacity maintainers list
: 449247 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-13 09:04 UTC by Mateusz Barucha
Modified: 2010-06-25 23:12 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Bind buttons (6.79 KB, patch)
2009-03-07 03:02 UTC, Thomas Thurman
none Details | Review

Description Mateusz Barucha 2006-11-13 09:04:16 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?
Comment 1 Thomas Thurman 2009-03-07 02:59:57 UTC
*** Bug 449247 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Thurman 2009-03-07 03:02:21 UTC
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.
Comment 3 Nick Welch 2009-03-08 01:25:12 UTC
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.
Comment 4 Mateusz Barucha 2009-03-08 01:43:07 UTC
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.
Comment 5 Jeremy Nickurak 2010-06-25 23:11:29 UTC
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 ***
Comment 6 Jeremy Nickurak 2010-06-25 23:12:18 UTC
Sorry, wrong bug.

108775

https://bugzilla.gnome.org/show_bug.cgi?id=108775

*** This bug has been marked as a duplicate of bug 108775 ***