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 678648 - Need a keyboard shortcut for move-window/resize-window
Need a keyboard shortcut for move-window/resize-window
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-06-22 20:09 UTC by Jonathan Blandford
Modified: 2012-10-11 20:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add tweak for mouse-button-modifier on Windows group (1.18 KB, patch)
2012-10-06 17:33 UTC, Rui Matos
committed Details | Review
Add tweak for resize-with-right-button on Windows group (1.33 KB, patch)
2012-10-06 17:34 UTC, Rui Matos
committed Details | Review

Description Jonathan Blandford 2012-06-22 20:09:28 UTC
We've needed this for a while anyway but since we're changing the default from <alt> to <super>, we definitely need a way to bind/remap it to be <mod><mouse button>.
Comment 1 Matthias Clasen 2012-06-23 03:15:05 UTC
Ah, when we were talking about this, it didn't occur to me that we are talking about a button binding, not a key binding. Thats not quite as easy, because we have no framework at all for customizing these...
Comment 2 Bastien Nocera 2012-07-18 18:48:51 UTC
(In reply to comment #1)
> Ah, when we were talking about this, it didn't occur to me that we are talking
> about a button binding, not a key binding. Thats not quite as easy, because we
> have no framework at all for customizing these...

Don't we get those in the modifiers when capturing? As long as gnome-settings-daemon can ignore those, we could 1) add support for the mouse buttons to the GTK+ cell renderer 2) make sure that only the WM bindings have that support enabled.
Comment 3 Matthias Clasen 2012-07-19 10:47:17 UTC
We can certainly make a cell renderer that can capture button combinations.

But we don't have any settings currently for individual button bindings.

All we have is org.gnome.desktop.wm.preferences.mouse-button-modifier - and I wonder if that is all that is asked for here.
Comment 4 Matthias Clasen 2012-10-04 11:53:44 UTC
I think we should just add a setting for  org.gnome.desktop.wm.preferences.mouse-button-modifier (possible values are <Super> and <Alt>) to gnome-tweak-tool
Comment 5 John Stowers 2012-10-04 13:25:36 UTC
Agree. Although I would like to do this without having people need to enter the "<Super>" string.

For a while I have wanted to add more keyboard shortcut configuration stuff to g-t-t (such as a simple way to configure a launch my terminal shortcut) but the last time I checked I didn't have a way to use any key-binding/shortcut cell renderers / widgets from python/gobject-introspection
Comment 6 Matthias Clasen 2012-10-04 13:36:17 UTC
(In reply to comment #5)
> Agree. Although I would like to do this without having people need to enter the
> "<Super>" string.

Right. I was envisioning a Alt/Super combobox
Comment 7 Rui Matos 2012-10-06 17:33:39 UTC
Created attachment 225945 [details] [review]
Add tweak for mouse-button-modifier on Windows group

--

Seems that metacity/mutter also handles the "disabled" value so I
added that too.
Comment 8 Rui Matos 2012-10-06 17:34:04 UTC
Created attachment 225946 [details] [review]
Add tweak for resize-with-right-button on Windows group

--

It's related to the previous setting so why not?
Comment 9 John Stowers 2012-10-11 20:08:08 UTC
Attachment 225945 [details] pushed as 0d3840c - Add tweak for mouse-button-modifier on Windows group
Attachment 225946 [details] pushed as c1e03e4 - Add tweak for resize-with-right-button on Windows group